diff options
author | midipix <writeonce@midipix.org> | 2021-04-11 07:31:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-11 07:34:02 +0000 |
commit | fc92e6c3f1c5c2ca531bd49d4d578c392a5adeff (patch) | |
tree | c94de4f24bb660f3e754da158b94003dc17bba52 | |
parent | ed690f9aeaee568dd5395ef4abb8830ac2c0655b (diff) | |
download | tpax-fc92e6c3f1c5c2ca531bd49d4d578c392a5adeff.tar.bz2 tpax-fc92e6c3f1c5c2ca531bd49d4d578c392a5adeff.tar.xz |
app: posix make support: acknowledge unused parameter inside of source file.
-rw-r--r-- | project/overrides.mk | 1 | ||||
-rw-r--r-- | src/tpax.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 <tpax/tpax.h> +#define TPAX_UNUSED_PARAMETER(p) (void)p + int main(int argc, char ** argv, char ** envp) { + TPAX_UNUSED_PARAMETER(argc); return tpax_main(argv,envp,0); } |