summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-11 07:25:24 +0000
committermidipix <writeonce@midipix.org>2021-04-11 07:26:31 +0000
commite665ece2f4c812142315ddc5a4651916a58ab2df (patch)
tree56c578fd2433731b41ecc8710b5dfb24496fc180 /src
parent54bff7fb6571783f8e56f5f8d90550cc2fa3f6c8 (diff)
downloadperk-e665ece2f4c812142315ddc5a4651916a58ab2df.tar.bz2
perk-e665ece2f4c812142315ddc5a4651916a58ab2df.tar.xz
app: posix make support: acknowledge unused parameter inside of source file.
Diffstat (limited to 'src')
-rw-r--r--src/perk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/perk.c b/src/perk.c
index 0bd6cee..f4d440a 100644
--- a/src/perk.c
+++ b/src/perk.c
@@ -6,7 +6,10 @@
#include <perk/perk.h>
+#define PE_UNUSED_PARAMETER(p) (void)p
+
int main(int argc, char ** argv, char ** envp)
{
+ PE_UNUSED_PARAMETER(argc);
return pe_main(argv,envp,0);
}