[syslinux:syslinux-5.xx] com32/modules/poweroff.c: fix main()
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Sat Jan 25 06:09:06 PST 2014
Commit-ID: 6b754da7041df93aad41d73edfc387c941e660ce
Gitweb: http://www.syslinux.org/commit/6b754da7041df93aad41d73edfc387c941e660ce
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Fri, 24 Jan 2014 19:43:37 -0500
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 25 Jan 2014 08:47:38 -0500
com32/modules/poweroff.c: fix main()
Wrong prototype; use GCC unused
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 8b656ad..e9af603 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;
More information about the Syslinux-commits
mailing list