[syslinux:syslinux-5.xx] com32/moduless/poweroff.c: use __unused attribute instead

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Sat Jan 25 08:57:02 PST 2014


Commit-ID:  0b5e47ede938e68c694d1f6e68b07a74d93b0ad6
Gitweb:     http://www.syslinux.org/commit/0b5e47ede938e68c694d1f6e68b07a74d93b0ad6
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sat, 25 Jan 2014 11:55:26 -0500
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 25 Jan 2014 11:55:26 -0500

com32/moduless/poweroff.c: use __unused attribute instead

Recommended-By: Matt Fleming <matt at console-pimps.org>
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>

---
 com32/modules/poweroff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/com32/modules/poweroff.c b/com32/modules/poweroff.c
index e9af603..ed6a930 100644
--- a/com32/modules/poweroff.c
+++ b/com32/modules/poweroff.c
@@ -20,7 +20,7 @@
 #include <string.h>
 #include <com32.h>
 
-int main(__attribute__((unused)) int argc, __attribute__((unused)) char *argv[])
+int main(int argc __unused, char *argv[] __unused)
 {
 	com32sys_t inregs, outregs;
 


More information about the Syslinux-commits mailing list