projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create branch 'XEmacs-21_4'.
[chise/xemacs-chise.git]
/
src
/
malloc.c
diff --git
a/src/malloc.c
b/src/malloc.c
index
bb9092d
..
0fc31a0
100644
(file)
--- a/
src/malloc.c
+++ b/
src/malloc.c
@@
-166,6
+166,8
@@
what you give them. Help stamp out software-hoarding! */
#endif /* not emacs */
#endif /* not emacs */
+#include <stddef.h>
+
/* Define getpagesize () if the system does not. */
#include "getpagesize.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 */
#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 */
#ifndef HPUX
/* not sure where this for NetBSD should really go
and it probably applies to other systems */
@@
-196,13
+198,11
@@
extern char *sbrk ();
extern void *sbrk ();
#endif /* __STDC__ */
extern void *sbrk ();
#endif /* __STDC__ */
-extern char *start_of_data ();
+extern char *start_of_data (void);
#ifdef BSD
#ifdef BSD
-#ifndef DATA_SEG_BITS
#define start_of_data() &etext
#endif
#define start_of_data() &etext
#endif
-#endif
#ifndef emacs
#define start_of_data() &etext
#ifndef emacs
#define start_of_data() &etext
@@
-738,7
+738,7
@@
malloc_stats (size)
return v;
}
int
return v;
}
int
-malloc_mem_used ()
+malloc_mem_used (void)
{
int i;
int size_used;
{
int i;
int size_used;
@@
-757,7
+757,7
@@
malloc_mem_used ()
}
int
}
int
-malloc_mem_free ()
+malloc_mem_free (void)
{
int i;
int size_unused;
{
int i;
int size_unused;
@@
-787,7
+787,7
@@
malloc_mem_free ()
#ifdef USG
static void
#ifdef USG
static void
-get_lim_data ()
+get_lim_data (void)
{
#ifdef ULIMIT_BREAK_VALUE
lim_data = ULIMIT_BREAK_VALUE;
{
#ifdef ULIMIT_BREAK_VALUE
lim_data = ULIMIT_BREAK_VALUE;
@@
-802,7
+802,7
@@
get_lim_data ()
#ifndef BSD4_2
static void
#ifndef BSD4_2
static void
-get_lim_data ()
+get_lim_data (void)
{
lim_data = vlimit (LIM_DATA, -1);
}
{
lim_data = vlimit (LIM_DATA, -1);
}
@@
-810,7
+810,7
@@
get_lim_data ()
#else /* BSD4_2 */
static void
#else /* BSD4_2 */
static void
-get_lim_data ()
+get_lim_data (void)
{
struct rlimit XXrlimit;
{
struct rlimit XXrlimit;