[nas] [patch] correct function declarations: () -> (void)
Stefan Huehner
stefan at huehner.org
Sat Aug 26 11:07:10 MDT 2006
Hi,
attached patch corrects some function declarations by changing () to
(void).
Regards,
Stefan
-------------- next part --------------
--- server/os/connection.c (revision 184)
+++ server/os/connection.c (working copy)
@@ -506,7 +506,7 @@
static struct sockaddr_un unsock;
static int
-open_unix_socket()
+open_unix_socket(void)
{
int oldUmask;
int request;
@@ -647,7 +647,7 @@
}
static int
-open_isc_local()
+open_isc_local(void)
{
int fd = -1, fds = -1;
long temp;
@@ -704,7 +704,7 @@
static int
-accept_isc_local()
+accept_isc_local(void)
{
struct strrecvfd buf;
@@ -719,7 +719,7 @@
}
static int
-open_xsight_local()
+open_xsight_local(void)
{
int fds = -1, fdr = -1;
char pathS[64], pathR[64];
@@ -759,7 +759,7 @@
static int
-accept_xsight_local()
+accept_xsight_local(void)
{
char c;
int fd;
@@ -788,7 +788,7 @@
#endif /* SVR4 */
static int
-open_att_local()
+open_att_local(void)
{
char *slave;
int fd;
@@ -878,7 +878,7 @@
#endif /* SVR4 */
static int
-accept_att_local()
+accept_att_local(void)
{
int newconn;
int read_in;
@@ -913,7 +913,7 @@
#ifdef SVR4
static int
-accept_att_svr4_local()
+accept_att_svr4_local(void)
{
struct strrecvfd str;
@@ -1014,7 +1014,7 @@
#ifdef DNETCONN
static int
-open_dnet_socket()
+open_dnet_socket(void)
{
int request;
struct sockaddr_dn dnsock;
--- server/dia/dispatch.c (revision 184)
+++ server/dia/dispatch.c (working copy)
@@ -74,7 +74,7 @@
extern void WriteSConnSetupPrefix();
extern char *ClientAuthorized();
extern Bool InsertFakeRequest();
-static void KillAllClients();
+static void KillAllClients(void);
extern void ProcessWorkQueue();
extern int (*AuProcVector[256]) ();
@@ -288,7 +288,7 @@
}
static void
-KillAllClients()
+KillAllClients(void)
{
int i;
for (i = 1; i < currentMaxClients; i++)
More information about the Nas
mailing list