aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2014-01-24 19:43:37 -0500
committerGene Cumm <gene.cumm@gmail.com>2014-01-25 08:47:38 -0500
commit6b754da7041df93aad41d73edfc387c941e660ce (patch)
tree7a053de82b458f5a64a1c9b0d3fc6558e50bf6cc /com32
parent61d2db8f29366e874048e472baa9a1617704b3d3 (diff)
downloadsyslinux-6b754da7041df93aad41d73edfc387c941e660ce.tar.gz
syslinux-6b754da7041df93aad41d73edfc387c941e660ce.tar.xz
syslinux-6b754da7041df93aad41d73edfc387c941e660ce.zip
com32/modules/poweroff.c: fix main()
Wrong prototype; use GCC unused Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'com32')
-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 8b656ad4..e9af6036 100644
--- a/com32/modules/poweroff.c
+++ b/com32/modules/poweroff.c
@@ -20,7 +20,7 @@
#include <string.h>
#include <com32.h>
-int main()
+int main(__attribute__((unused)) int argc, __attribute__((unused)) char *argv[])
{
com32sys_t inregs, outregs;