aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2014-01-25 11:55:26 -0500
committerGene Cumm <gene.cumm@gmail.com>2014-01-25 11:55:26 -0500
commit0b5e47ede938e68c694d1f6e68b07a74d93b0ad6 (patch)
treedfcae09080f4c46f255f475fd09895591152e450
parent6b754da7041df93aad41d73edfc387c941e660ce (diff)
downloadsyslinux-0b5e47ede938e68c694d1f6e68b07a74d93b0ad6.tar.gz
syslinux-0b5e47ede938e68c694d1f6e68b07a74d93b0ad6.tar.xz
syslinux-0b5e47ede938e68c694d1f6e68b07a74d93b0ad6.zip
com32/moduless/poweroff.c: use __unused attribute instead
Recommended-By: Matt Fleming <matt@console-pimps.org> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--com32/modules/poweroff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/poweroff.c b/com32/modules/poweroff.c
index e9af6036..ed6a9309 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;