summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-10 12:16:33 +0000
committermidipix <writeonce@midipix.org>2021-04-10 15:37:31 +0000
commit4599bcc4d4f6fdc87c717ac7ef616d94a97d413f (patch)
tree19e7ab371d9d7d39b02d7be95fcf7e52a5d4a398 /src
parentb55149c828ab297efc2167cdfe2c3fe51e11e429 (diff)
downloadslibtool-4599bcc4d4f6fdc87c717ac7ef616d94a97d413f.tar.bz2
slibtool-4599bcc4d4f6fdc87c717ac7ef616d94a97d413f.tar.xz
app: posix make support: acknowledge unused parameter inside of source file.
Diffstat (limited to 'src')
-rw-r--r--src/slibtool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slibtool.c b/src/slibtool.c
index 130474e..96bde65 100644
--- a/src/slibtool.c
+++ b/src/slibtool.c
@@ -6,7 +6,10 @@
#include <slibtool/slibtool.h>
+#define SLBT_UNUSED_PARAMETER(p) (void)p
+
int main(int argc, char ** argv, char ** envp)
{
+ SLBT_UNUSED_PARAMETER(argc);
return slbt_main(argv,envp,0);
}