summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-10 21:38:16 +0000
committermidipix <writeonce@midipix.org>2021-04-10 21:38:16 +0000
commit8eba8c20680a5e0c32ab3f02d894ab043aef41c2 (patch)
tree44afecf7362133ad8f1ce96dcefaf72673142bae /src
parent94ea8588e38462728a1ebb9013ba1fae008c724f (diff)
downloadapimagic-8eba8c20680a5e0c32ab3f02d894ab043aef41c2.tar.bz2
apimagic-8eba8c20680a5e0c32ab3f02d894ab043aef41c2.tar.xz
app: posix make support: acknowledge unused parameter inside of source file.
Diffstat (limited to 'src')
-rw-r--r--src/apimagic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apimagic.c b/src/apimagic.c
index 4204276..7277cc0 100644
--- a/src/apimagic.c
+++ b/src/apimagic.c
@@ -6,7 +6,10 @@
#include <apimagic/apimagic.h>
+#define AMGC_UNUSED_PARAMETER(p) (void)p
+
int main(int argc, char ** argv, char ** envp)
{
+ AMGC_UNUSED_PARAMETER(argc);
return amgc_main(argv,envp,0);
}