From 4599bcc4d4f6fdc87c717ac7ef616d94a97d413f Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Sat, 10 Apr 2021 12:16:33 +0000
Subject: app: posix make support: acknowledge unused parameter inside of
 source file.

---
 project/overrides.mk | 1 -
 src/slibtool.c       | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

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/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);
 }
-- 
cgit v1.2.3