summaryrefslogtreecommitdiff
path: root/libguile/gh_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/gh_funcs.c')
-rw-r--r--libguile/gh_funcs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libguile/gh_funcs.c b/libguile/gh_funcs.c
index c789ce097..28e6dc647 100644
--- a/libguile/gh_funcs.c
+++ b/libguile/gh_funcs.c
@@ -21,6 +21,8 @@
#include "libguile/gh.h"
+#if SCM_ENABLE_DEPRECATED
+
/* allows you to define new scheme primitives written in C */
SCM
gh_new_procedure (const char *proc_name, SCM (*fn) (),
@@ -143,6 +145,8 @@ gh_call3 (SCM proc, SCM arg1, SCM arg2, SCM arg3)
return scm_apply (proc, arg1, scm_cons2 (arg2, arg3, scm_listofnull));
}
+#endif /* SCM_ENABLE_DEPRECATED */
+
/*
Local Variables:
c-file-style: "gnu"