#endif /* not emacs */
+#include <stddef.h>
+
/* Define getpagesize () if the system does not. */
#include "getpagesize.h"
#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 */
extern void *sbrk ();
#endif /* __STDC__ */
-extern char *start_of_data ();
+extern char *start_of_data (void);
#ifdef BSD
-#ifndef DATA_SEG_BITS
#define start_of_data() &etext
#endif
-#endif
#ifndef emacs
#define start_of_data() &etext
return v;
}
int
-malloc_mem_used ()
+malloc_mem_used (void)
{
int i;
int size_used;
}
int
-malloc_mem_free ()
+malloc_mem_free (void)
{
int i;
int size_unused;
#ifdef USG
static void
-get_lim_data ()
+get_lim_data (void)
{
#ifdef ULIMIT_BREAK_VALUE
lim_data = ULIMIT_BREAK_VALUE;
#ifndef BSD4_2
static void
-get_lim_data ()
+get_lim_data (void)
{
lim_data = vlimit (LIM_DATA, -1);
}
#else /* BSD4_2 */
static void
-get_lim_data ()
+get_lim_data (void)
{
struct rlimit XXrlimit;