summaryrefslogtreecommitdiff
path: root/libguile/simpos.c
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>2000-01-05 19:05:23 +0000
committerGreg J. Badros <gjb@cs.washington.edu>2000-01-05 19:05:23 +0000
commita1ec69163dd2e55e5d2b03a164513aa4a0d5943c (patch)
tree99489194c03fa41397c77e84b3f8660ffef1ed30 /libguile/simpos.c
parentfb764465068f84e3ab047c45792ffc3026e5505a (diff)
downloadguile-a1ec69163dd2e55e5d2b03a164513aa4a0d5943c.tar.gz
*.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.
Diffstat (limited to 'libguile/simpos.c')
-rw-r--r--libguile/simpos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/simpos.c b/libguile/simpos.c
index 51f76e6ec..064d7dfca 100644
--- a/libguile/simpos.c
+++ b/libguile/simpos.c
@@ -63,7 +63,7 @@
extern int system();
-GUILE_PROC(scm_system, "system", 0, 1, 0,
+SCM_DEFINE(scm_system, "system", 0, 1, 0,
(SCM cmd),
"Executes @var{cmd} using the operating system's "command processor".
Under Unix this is usually the default shell @code{sh}. The value
@@ -103,7 +103,7 @@ indicating whether the command processor is available.")
#undef FUNC_NAME
extern char *getenv();
-GUILE_PROC (scm_getenv, "getenv", 1, 0, 0,
+SCM_DEFINE (scm_getenv, "getenv", 1, 0, 0,
(SCM nam),
"Looks up the string @var{name} in the current environment. The return
value is @code{#f} unless a string of the form @code{NAME=VALUE} is
@@ -120,7 +120,7 @@ returned.")
#undef FUNC_NAME
/* simple exit, without unwinding the scheme stack or flushing ports. */
-GUILE_PROC (scm_primitive_exit, "primitive-exit", 0, 1, 0,
+SCM_DEFINE (scm_primitive_exit, "primitive-exit", 0, 1, 0,
(SCM status),
"Terminate the current process without unwinding the Scheme stack.
This is would typically be useful after a fork. The exit status