HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d332f1
)
(getenv): Use <stdlib.h> for prototype.
author
Kevin Ryde
<user42@zip.com.au>
Tue, 12 Aug 2003 20:23:35 +0000
(20:23 +0000)
committer
Kevin Ryde
<user42@zip.com.au>
Tue, 12 Aug 2003 20:23:35 +0000
(20:23 +0000)
libguile/simpos.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/simpos.c
b/libguile/simpos.c
index
d124d5b
..
fb0a132
100644
(file)
--- a/
libguile/simpos.c
+++ b/
libguile/simpos.c
@@
-22,6
+22,7
@@
#endif
#include <errno.h>
+#include <stdlib.h> /* for getenv */
#include "libguile/_scm.h"
@@
-74,7
+75,6
@@
SCM_DEFINE (scm_system, "system", 0, 1, 0,
#undef FUNC_NAME
#endif /* HAVE_SYSTEM */
-extern char *getenv();
SCM_DEFINE (scm_getenv, "getenv", 1, 0, 0,
(SCM nam),
"Looks up the string @var{name} in the current environment. The return\n"