[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-89-g34cf38
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-89-g34cf38c |
Date: |
Thu, 22 Dec 2011 14:56:17 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=34cf38c3a2eb143d982aa14e76888098aea468b2
The branch, stable-2.0 has been updated
via 34cf38c3a2eb143d982aa14e76888098aea468b2 (commit)
from e0a8221dcf0c6592a968a10e511a69bb05728753 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 34cf38c3a2eb143d982aa14e76888098aea468b2
Author: Andy Wingo <address@hidden>
Date: Thu Dec 22 09:54:24 2011 -0500
stdlib.h, not malloc.h
* configure.ac: Remove check for malloc.h.
* libguile/gc-malloc.c:
* libguile/gc.c:
* libguile/mallocs.c:
* libguile/smob.c: Use stdlib instead of malloc.h.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 +-
libguile/gc-malloc.c | 5 +----
libguile/gc.c | 5 +----
libguile/mallocs.c | 5 ++---
libguile/smob.c | 5 +----
5 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0cfe961..bf9ecdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -655,7 +655,7 @@ AC_SUBST([SCM_I_GSC_HAVE_STRUCT_DIRENT64])
# langinfo.h, nl_types.h - SuS v2
# sched.h - missing on MinGW
#
-AC_CHECK_HEADERS([complex.h fenv.h io.h libc.h limits.h malloc.h memory.h
process.h string.h \
+AC_CHECK_HEADERS([complex.h fenv.h io.h libc.h limits.h memory.h process.h
string.h \
regex.h rxposix.h rx/rxposix.h sys/dir.h sys/ioctl.h sys/select.h \
sys/time.h sys/timeb.h sys/times.h sys/stdtypes.h sys/types.h \
sys/utime.h time.h unistd.h utime.h pwd.h grp.h sys/utsname.h \
diff --git a/libguile/gc-malloc.c b/libguile/gc-malloc.c
index b7781f3..de8e9e2 100644
--- a/libguile/gc-malloc.c
+++ b/libguile/gc-malloc.c
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
#ifdef __ia64__
#include <ucontext.h>
@@ -58,10 +59,6 @@ extern unsigned long *
__libc_ia64_register_backing_store_base;
#include "libguile/debug-malloc.h"
#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
diff --git a/libguile/gc.c b/libguile/gc.c
index 33b0340..7816801 100644
--- a/libguile/gc.c
+++ b/libguile/gc.c
@@ -29,6 +29,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
#include <math.h>
#ifdef __ia64__
@@ -67,10 +68,6 @@ extern unsigned long *
__libc_ia64_register_backing_store_base;
#include "libguile/debug-malloc.h"
#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
diff --git a/libguile/mallocs.c b/libguile/mallocs.c
index 6a366ae..05c6a85 100644
--- a/libguile/mallocs.c
+++ b/libguile/mallocs.c
@@ -24,15 +24,14 @@
# include <config.h>
#endif
+#include <stdlib.h>
+
#include "libguile/_scm.h"
#include "libguile/ports.h"
#include "libguile/smob.h"
#include "libguile/mallocs.h"
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
diff --git a/libguile/smob.c b/libguile/smob.c
index c414913..8b038f5 100644
--- a/libguile/smob.c
+++ b/libguile/smob.c
@@ -23,6 +23,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <errno.h>
#include "libguile/_scm.h"
@@ -33,10 +34,6 @@
#include "libguile/objcodes.h"
#include "libguile/programs.h"
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#include "libguile/smob.h"
#include "libguile/bdw-gc.h"
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-89-g34cf38c,
Andy Wingo <=