* configure.in: Build with backtrace.o and stacks.o if debug
[bpt/guile.git] / libguile / stackchk.h
index 29eb7e5..6e6a358 100644 (file)
  * If you do not wish that, delete this exception notice.  
  */
 \f
-#include "__scm.h"
+#include "libguile/__scm.h"
 
+#include "libguile/continuations.h"
+#ifdef DEBUG_EXTENSIONS
+#include "libguile/debug.h"
+#endif
 \f
 
 /* With debug extensions we have the possibility to use the debug options
 extern int scm_stack_checking_enabled_p;
 
 \f
-#ifdef __STDC__
-extern void scm_report_stack_overflow (void);
-extern long scm_stack_size (SCM_STACKITEM *start);
-extern void scm_stack_report (void);
-extern void scm_init_stackchk (void);
-
-#else /* STDC */
-extern void scm_report_stack_overflow ();
-extern long scm_stack_size ();
-extern void scm_stack_report ();
-extern void scm_init_stackchk ();
-
-#endif /* STDC */
-
-
-
-
-
-
 
+extern void scm_report_stack_overflow SCM_P ((void));
+extern long scm_stack_size SCM_P ((SCM_STACKITEM *start));
+extern void scm_stack_report SCM_P ((void));
+extern void scm_init_stackchk SCM_P ((void));
 
 #endif  /* STACKCHKH */