diff --git a/src/block_alloc.h b/src/block_alloc.h index bd14e3d163091a93220d6eac077a4cd0e3d566e8..3339e298e2433d2e2a6da0b3cf48a0a06ef52d42 100644 --- a/src/block_alloc.h +++ b/src/block_alloc.h @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: block_alloc.h,v 1.76 2005/04/08 16:51:40 grubba Exp $ +|| $Id: block_alloc.h,v 1.77 2005/04/09 10:54:25 grubba Exp $ */ #undef PRE_INIT_BLOCK @@ -646,7 +646,7 @@ struct DATA *PIKE_CONCAT3(make_,DATA,_unlocked)(void *ptr, \ PIKE_HASH_T hval); \ LOW_PTR_HASH_ALLOC(DATA,BSIZE) \ \ -static void PIKE_CONCAT(DATA,_rehash)() \ +static void PIKE_CONCAT(DATA,_rehash)(void) \ { \ /* Time to re-hash */ \ extern const INT32 hashprimes[32]; \ diff --git a/src/cpp.c b/src/cpp.c index efa60a950d4d674722084579d6412f1dc878adbc..aaabb0cecfc35c6b2970522cadec5150f9824b1e 100644 --- a/src/cpp.c +++ b/src/cpp.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: cpp.c,v 1.157 2004/12/22 18:46:15 grubba Exp $ +|| $Id: cpp.c,v 1.158 2005/04/09 10:52:16 grubba Exp $ */ #include "global.h" @@ -602,7 +602,7 @@ void cpp_func_constant(struct cpp *this, INT32 args) /* Macro handling. */ -static struct mapping *initial_predefs_mapping() +static struct mapping *initial_predefs_mapping(void) { struct pike_predef_s *def; struct mapping *map = allocate_mapping (0); diff --git a/src/gc.c b/src/gc.c index 8c15817e6ffebef7d86a848f59dd93998f080c1e..f3ffd896a54c63d73e9ac8962d4c81d5366f18f8 100644 --- a/src/gc.c +++ b/src/gc.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: gc.c,v 1.264 2005/04/06 19:18:25 grubba Exp $ +|| $Id: gc.c,v 1.265 2005/04/09 10:52:52 grubba Exp $ */ #include "global.h" @@ -2681,7 +2681,7 @@ static void free_obj_arr(void *oa) /*! @endclass */ -static void warn_bad_cycles() +static void warn_bad_cycles(void) { /* The reason for the extra level of indirection, is that it might * be clobbered by the longjump() in SET_ONERROR otherwise.