diff options
Diffstat (limited to 'libguile/gc.c')
-rw-r--r-- | libguile/gc.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libguile/gc.c b/libguile/gc.c index 3ab6104c2..28e86e4e0 100644 --- a/libguile/gc.c +++ b/libguile/gc.c @@ -60,6 +60,14 @@ #include <unistd.h> #endif +#ifdef __STDC__ +#include <stdarg.h> +#define var_start(x, y) va_start(x, y) +#else +#include <varargs.h> +#define var_start(x, y) va_start(x) +#endif + /* {heap tuning parameters} * @@ -798,14 +806,10 @@ scm_mark_locations (x, n) regarded as a pointer to a cell on the heap. The code is duplicated from scm_mark_locations. */ -#ifdef __STDC__ -int -scm_cellp (SCM value) -#else + int scm_cellp (value) SCM value; -#endif { register int i, j; register SCM_CELLPTR ptr; @@ -1586,6 +1590,7 @@ scm_remember (ptr) SCM * ptr; {} + #ifdef __STDC__ SCM scm_return_first (SCM elt, ...) |