XEmacs 21.2.28 "Hermes".
[chise/xemacs-chise.git.1] / src / malloc.c
index bb9092d..9f41290 100644 (file)
@@ -166,6 +166,8 @@ what you give them.   Help stamp out software-hoarding!  */
 
 #endif /* not emacs */
 
+#include <stddef.h>
+
 /* Define getpagesize () if the system does not.  */
 #include "getpagesize.h"
 
@@ -182,7 +184,7 @@ what you give them.   Help stamp out software-hoarding!  */
 #include <sys/resource.h>
 #endif /* BSD4_2 */
 
-#ifdef __STDC_
+#ifdef __STDC__
 #ifndef HPUX
 /* not sure where this for NetBSD should really go
    and it probably applies to other systems */
@@ -196,7 +198,7 @@ extern char *sbrk ();
 extern void *sbrk ();
 #endif /* __STDC__ */
 
-extern char *start_of_data ();
+extern char *start_of_data (void);
 
 #ifdef BSD
 #ifndef DATA_SEG_BITS