summaryrefslogtreecommitdiff
path: root/libguile/gh_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/gh_list.c')
-rw-r--r--libguile/gh_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libguile/gh_list.c b/libguile/gh_list.c
index 2d8764a7e..e9f123124 100644
--- a/libguile/gh_list.c
+++ b/libguile/gh_list.c
@@ -20,6 +20,8 @@
#include "libguile/gh.h"
+#if SCM_ENABLE_DEPRECATED
+
/* returns the length of a list */
unsigned long
gh_length (SCM l)
@@ -166,6 +168,8 @@ gh_set_cdr_x(SCM pair, SCM value)
return scm_set_cdr_x(pair, value);
}
+#endif /* SCM_ENABLE_DEPRECATED */
+
/*
Local Variables:
c-file-style: "gnu"