summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/overrides.mk1
-rw-r--r--src/perk.c3
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
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);
}