From b80a12fb91753acb7953b57227bc6548ceb9d2d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Wed, 11 Jul 2001 14:29:08 +0200 Subject: [PATCH] Fixed a few warnings. Rev: src/modules/spider/spider.c:1.109 Rev: src/modules/system/system.c:1.114 --- src/modules/spider/spider.c | 6 +++--- src/modules/system/system.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modules/spider/spider.c b/src/modules/spider/spider.c index 9ef489a241..91a393e118 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 8db7ec4ae8..21662c7f2f 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; -- GitLab