[syslinux:pathbased] libmenu/passwords.h: function declaration isn't a prototype

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Wed May 12 16:12:16 PDT 2010


Commit-ID:  ea9654799db8c2a5206a4be75168691947df8798
Gitweb:     http://syslinux.zytor.com/commit/ea9654799db8c2a5206a4be75168691947df8798
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Wed, 12 May 2010 15:49:30 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 12 May 2010 15:49:30 -0700

libmenu/passwords.h: function declaration isn't a prototype

Make it a prototype

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


---
 com32/cmenu/libmenu/passwords.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/com32/cmenu/libmenu/passwords.h b/com32/cmenu/libmenu/passwords.h
index 9ac06b1..2e0ec27 100644
--- a/com32/cmenu/libmenu/passwords.h
+++ b/com32/cmenu/libmenu/passwords.h
@@ -8,7 +8,7 @@ char isallowed(const char *username, const char *perm);
 // Initialise the list of of user passwords permissions from file
 void init_passwords(const char *filename);
 // Free all space used for internal data structures
-void close_passwords();
+void close_passwords(void);
 
 #define MAX_USERS 128		// Maximum number of users
 #define USERNAME_LENGTH 12	// Max length of user name



More information about the Syslinux-commits mailing list