summaryrefslogtreecommitdiff
path: root/libguile/debug.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1998-10-15 14:35:35 +0000
committerJim Blandy <jimb@red-bean.com>1998-10-15 14:35:35 +0000
commitf3667f526d2f251b86cba9bbe36946d8d35343f6 (patch)
treea486717e0a0701269501ca6a85ecfd39286fd6f0 /libguile/debug.h
parenta437d8a2a8191098aac9e2348dc8037f4448f418 (diff)
downloadguile-f3667f526d2f251b86cba9bbe36946d8d35343f6.tar.gz
Warning fixes from Greg Harvey:
* unif.c (scm_array_set_x): initializer for pos * throw.c (scm_ithrow): added initializer for jmpbuf (SCM_UNDEFINED) * struct.c (scm_struct_ref, scm_struct_set_x): Added initializers for field_type, since EGCS so desparately wants to play dumb * debug.h (scm_make_gloc, scm_gloc_p, scm_make_iloc, scm_memcons, scm_mem_to_proc, scm_proc_to_mem, scm_debug_hang): Added prototypes when GUILE_DEBUG is defined. * dynwind.h (scm_wind_chain): Same. * ports.h (scm_pt_size, scm_pt_member): Same. * print.h (scm_current_pstate): Same. * procs.h (scm_make_cclo): Same.
Diffstat (limited to 'libguile/debug.h')
-rw-r--r--libguile/debug.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libguile/debug.h b/libguile/debug.h
index b974b5139..b14e2115f 100644
--- a/libguile/debug.h
+++ b/libguile/debug.h
@@ -195,4 +195,15 @@ extern SCM scm_unmemoize SCM_P ((SCM memoized));
extern SCM scm_make_debugobj SCM_P ((scm_debug_frame* debug));
extern void scm_init_debug SCM_P ((void));
+#ifdef GUILE_DEBUG
+extern SCM scm_make_gloc SCM_P ((SCM var, SCM env));
+extern SCM scm_gloc_p SCM_P ((SCM obj));
+extern SCM scm_make_iloc SCM_P ((SCM frame, SCM binding, SCM cdrp));
+extern SCM scm_iloc_p SCM_P ((SCM obj));
+extern SCM scm_memcons SCM_P ((SCM car, SCM cdr, SCM env));
+extern SCM scm_mem_to_proc SCM_P ((SCM obj));
+extern SCM scm_proc_to_mem SCM_P ((SCM obj));
+extern SCM scm_debug_hang SCM_P ((SCM obj));
+#endif /*GUILE_DEBUG*/
+
#endif /* DEBUGH */