diff options
author | midipix <writeonce@midipix.org> | 2021-04-11 07:19:28 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-11 07:21:48 +0000 |
commit | ff64c5dc5a5ceb9846e00f6d6fdd7f25e04ea118 (patch) | |
tree | cc4b1d8906f619675c879f65e366444f5520b5cf | |
parent | 50b1813b6293d3a767329d3f0d6c0eea20bbb92d (diff) | |
download | mdso-ff64c5dc5a5ceb9846e00f6d6fdd7f25e04ea118.tar.bz2 mdso-ff64c5dc5a5ceb9846e00f6d6fdd7f25e04ea118.tar.xz |
app: posix make support: acknowledge unused parameter inside of source file.
-rw-r--r-- | project/overrides.mk | 1 | ||||
-rw-r--r-- | src/mdso.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/project/overrides.mk b/project/overrides.mk index 3c91346..e69de29 100644 --- a/project/overrides.mk +++ b/project/overrides.mk @@ -1 +0,0 @@ -src/$(PACKAGE).o: CFLAGS_LAST += -Wno-unused-parameter @@ -6,7 +6,10 @@ #include <mdso/mdso.h> +#define MDSO_UNUSED_PARAMETER(p) (void)p + int main(int argc, char ** argv, char ** envp) { + MDSO_UNUSED_PARAMETER(argc); return mdso_main(argv,envp,0); } |