]> granicus.if.org Git - mutt/commitdiff
There are some functions without ANSI prototypes left in mutt-owned sources.
authorRalf Wildenhues <wildenhues@ins.uni-bonn.de>
Tue, 26 Jul 2005 03:09:55 +0000 (03:09 +0000)
committerRalf Wildenhues <wildenhues@ins.uni-bonn.de>
Tue, 26 Jul 2005 03:09:55 +0000 (03:09 +0000)
mbyte.c
mutt_socket.c

diff --git a/mbyte.c b/mbyte.c
index 77df1fdd0140c9f25885612a75f45cd8e456ff97..ea32a85c7bf2021de82fcbce0a7f00721cdeda54 100644 (file)
--- a/mbyte.c
+++ b/mbyte.c
@@ -465,7 +465,7 @@ size_t utf8rtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *_ps)
 
 #endif /* !HAVE_WC_FUNCS */
 
-wchar_t replacement_char ()
+wchar_t replacement_char (void)
 {
   return Charset_is_utf8 ? 0xfffd : '?';
 }
index 3919ccd9aa28da83cd48fb504856c523250cd61d..e88e86e2266c14106c7e6ca828bfa4e3e0b8e88a 100644 (file)
@@ -48,7 +48,7 @@ static CONNECTION *Connections = NULL;
 /* forward declarations */
 static int socket_preconnect (void);
 static int socket_connect (int fd, struct sockaddr* sa);
-static CONNECTION* socket_new_conn ();
+static CONNECTION* socket_new_conn (void);
 
 /* Wrappers */
 int mutt_socket_open (CONNECTION* conn) 
@@ -349,7 +349,7 @@ static int socket_connect (int fd, struct sockaddr* sa)
 }
 
 /* socket_new_conn: allocate and initialise a new connection. */
-static CONNECTION* socket_new_conn ()
+static CONNECTION* socket_new_conn (void)
 {
   CONNECTION* conn;