diff --git a/src/modules/spider/spider.c b/src/modules/spider/spider.c index 9ef489a2414111cd699f441b839798e74a66b49c..91a393e118063549d65429d365bcfe41b7d8f3dd 100644 --- a/src/modules/spider/spider.c +++ b/src/modules/spider/spider.c @@ -43,7 +43,7 @@ #include "threads.h" #include "operators.h" -RCSID("$Id: spider.c,v 1.108 2001/07/03 19:59:06 hubbe Exp $"); +RCSID("$Id: spider.c,v 1.109 2001/07/11 12:25:48 grubba Exp $"); #ifdef HAVE_PWD_H #include <pwd.h> @@ -1166,7 +1166,7 @@ void pike_module_init(void) /* function(int:string) */ ADD_EFUN("fd_info", f_fd_info,tFunc(tInt,tStr), OPT_EXTERNAL_DEPEND); { - extern void init_xml(); + extern void init_xml(void); init_xml(); } } @@ -1177,7 +1177,7 @@ void pike_module_exit(void) int i; free_string(empty_string.u.string); { - extern void exit_xml(); + extern void exit_xml(void); exit_xml(); } } diff --git a/src/modules/system/system.c b/src/modules/system/system.c index 8db7ec4ae88c552142cac15c8049d020c8166f2f..21662c7f2fae88791b274f407c7509a439f038c8 100644 --- a/src/modules/system/system.c +++ b/src/modules/system/system.c @@ -1,5 +1,5 @@ /* - * $Id: system.c,v 1.113 2001/05/28 12:38:10 grubba Exp $ + * $Id: system.c,v 1.114 2001/07/11 12:29:08 grubba Exp $ * * System-call module for Pike * @@ -15,7 +15,7 @@ #include "system_machine.h" #include "system.h" -RCSID("$Id: system.c,v 1.113 2001/05/28 12:38:10 grubba Exp $"); +RCSID("$Id: system.c,v 1.114 2001/07/11 12:29:08 grubba Exp $"); #ifdef HAVE_WINSOCK_H #include <winsock.h> #endif @@ -1854,7 +1854,7 @@ static struct pike_string *s_memlock=NULL; static struct pike_string *s_as=NULL; static struct pike_string *s_vmem=NULL; -static void make_rlimit_strings() +static void make_rlimit_strings(void) { MAKE_CONSTANT_SHARED_STRING(s_cpu,"cpu"); MAKE_CONSTANT_SHARED_STRING(s_fsize,"fsize"); @@ -2344,7 +2344,7 @@ static void f_get_netinfo_property(INT32 args) :"=a" (l), \ "=d" (h)) -static INLINE long long rdtsc() +static INLINE long long rdtsc(void) { long long now; unsigned long nl,nh;