[syslinux:master] memdisk: fix non-prototype function declaration

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun Jan 10 13:24:04 PST 2010


Commit-ID:  aeace38fa079d56b46898385a926df5356146b1d
Gitweb:     http://syslinux.zytor.com/commit/aeace38fa079d56b46898385a926df5356146b1d
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 10 Jan 2010 12:54:24 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 10 Jan 2010 12:54:24 -0800

memdisk: fix non-prototype function declaration

() is not a prototype, use (void)

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 memdisk/inflate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/memdisk/inflate.c b/memdisk/inflate.c
index 30df244..e7825f0 100644
--- a/memdisk/inflate.c
+++ b/memdisk/inflate.c
@@ -998,7 +998,7 @@ static void makecrc(void)
 /*
  * Do the uncompression!
  */
-int gunzip()
+int gunzip(void)
 {
     int res;
 



More information about the Syslinux-commits mailing list