diff options
author | Jim Blandy <jimb@red-bean.com> | 1996-10-14 01:33:50 +0000 |
---|---|---|
committer | Jim Blandy <jimb@red-bean.com> | 1996-10-14 01:33:50 +0000 |
commit | 1cc91f1b2937a230a2dc80dd25cc6003b7b8f2b5 (patch) | |
tree | 64ddce6a971f0e0ca6ddd41d9ac0f5b999122484 /libguile/debug.h | |
parent | 1717856b4e8072b5aebab2324fcfba55bc504369 (diff) | |
download | guile-1cc91f1b2937a230a2dc80dd25cc6003b7b8f2b5.tar.gz |
* __scm.h, alist.c, alist.h, append.c, append.h, appinit.c,
arbiters.c, arbiters.h, async.c, async.h, boolean.c, boolean.h,
chars.c, chars.h, continuations.c, continuations.h, debug.c,
debug.h, dynwind.c, dynwind.h, eq.c, eq.h, error.c, eval.c,
eval.h, extchrs.c, extchrs.h, fdsocket.c, fdsocket.h, filesys.c,
filesys.h, fports.c, fports.h, gc.c, gdb_interface.h, gdbint.c,
gdbint.h, genio.c, genio.h, gscm.c, gscm.h, gsubr.c, gsubr.h,
hash.c, hash.h, hashtab.c, hashtab.h, init.c, ioext.c, ioext.h,
kw.c, kw.h, libguile.h, mallocs.c, mallocs.h, markers.c,
markers.h, mbstrings.c, mbstrings.h, numbers.c, numbers.h,
objprop.c, objprop.h, options.c, options.h, pairs.c, pairs.h,
ports.c, ports.h, posix.c, posix.h, print.c, print.h, procprop.c,
procprop.h, procs.c, procs.h, ramap.c, ramap.h, read.c, read.h,
root.c, scmsigs.c, scmsigs.h, sequences.c, sequences.h, simpos.c,
simpos.h, smob.c, socket.c, socket.h, srcprop.c, srcprop.h,
stackchk.c, stackchk.h, stime.c, stime.h, strings.c, strings.h,
strop.c, strop.h, strorder.c, strorder.h, strports.c, strports.h,
struct.c, struct.h, symbols.c, symbols.h, tag.c, tag.h, unif.c,
unif.h, variable.c, variable.h, vectors.c, vectors.h, version.c,
version.h, vports.c, vports.h, weaks.c, weaks.h: Use SCM_P to
declare functions with prototypes. (Patch thanks to Marius
Vollmer.)
Diffstat (limited to 'libguile/debug.h')
-rw-r--r-- | libguile/debug.h | 76 |
1 files changed, 24 insertions, 52 deletions
diff --git a/libguile/debug.h b/libguile/debug.h index 96a4ed0ad..e271cb955 100644 --- a/libguile/debug.h +++ b/libguile/debug.h @@ -87,11 +87,8 @@ extern scm_option scm_evaluator_trap_table[]; #define SCM_EXIT_FRAME_P scm_evaluator_trap_table[2].val #define SCM_N_EVALUATOR_TRAPS 3 -#ifdef __STDC__ -extern SCM (*scm_ceval_ptr) (SCM exp, SCM env); -#else -extern SCM (*scm_ceval_ptr) (); -#endif +extern SCM (*scm_ceval_ptr) SCM_P ((SCM exp, SCM env)); + extern int scm_debug_mode; extern int scm_check_entry_p, scm_check_apply_p, scm_check_exit_p; @@ -165,52 +162,27 @@ extern long scm_tc16_memoized; -#ifdef __STDC__ -extern SCM * scm_lookup_cstr (char *str, int len, SCM env); -extern SCM * scm_lookup_soft (SCM var, SCM genv); -extern SCM scm_evstr (char *str); -extern SCM scm_eval_string (SCM str); -extern int scm_ready_p (void); -extern void debug_print (SCM obj); -extern SCM scm_expr_stack (SCM obj); -extern SCM scm_last_stack_frame (SCM obj); -extern SCM scm_debug_object_p (SCM obj); -extern SCM scm_local_eval (SCM exp, SCM env); -extern SCM scm_procedure_environment (SCM proc); -extern SCM scm_procedure_source (SCM proc); -extern SCM scm_procedure_name (SCM proc); -extern SCM scm_memoized_environment (SCM m); -extern SCM scm_make_memoized (SCM exp, SCM env); -extern SCM scm_memoized_p (SCM obj); -extern SCM scm_single_step (SCM cont, SCM val); -extern SCM scm_evaluator_traps (SCM setting); -extern SCM scm_debug_options (SCM setting); -extern SCM scm_unmemoize (SCM memoized); -extern SCM scm_make_debugobj (scm_debug_frame* debug); -extern void scm_init_debug (void); -#else -extern SCM * scm_lookup_cstr (); -extern SCM * scm_lookup_soft (); -extern SCM scm_evstr (); -extern SCM scm_eval_string (); -extern int scm_ready_p (); -extern void debug_print (); -extern SCM scm_expr_stack (); -extern SCM scm_last_stack_frame (); -extern SCM scm_debug_object_p (); -extern SCM scm_local_eval (); -extern SCM scm_procedure_environment (); -extern SCM scm_procedure_source (); -extern SCM scm_procedure_name (); -extern SCM scm_memoized_environment (); -extern SCM scm_make_memoized (); -extern SCM scm_memoized_p (SCM obj); -extern SCM scm_single_step (); -extern SCM scm_evaluator_traps (); -extern SCM scm_debug_options (); -extern SCM scm_unmemoize (); -extern SCM scm_make_debugobj (); -extern void scm_init_debug (); -#endif +extern SCM * scm_lookup_cstr SCM_P ((char *str, int len, SCM env)); +extern SCM * scm_lookup_soft SCM_P ((SCM var, SCM genv)); +extern SCM scm_evstr SCM_P ((char *str)); +extern SCM scm_eval_string SCM_P ((SCM str)); +extern int scm_ready_p SCM_P ((void)); +extern void debug_print SCM_P ((SCM obj)); +extern SCM scm_expr_stack SCM_P ((SCM obj)); +extern SCM scm_last_stack_frame SCM_P ((SCM obj)); +extern SCM scm_debug_object_p SCM_P ((SCM obj)); +extern SCM scm_local_eval SCM_P ((SCM exp, SCM env)); +extern SCM scm_procedure_environment SCM_P ((SCM proc)); +extern SCM scm_procedure_source SCM_P ((SCM proc)); +extern SCM scm_procedure_name SCM_P ((SCM proc)); +extern SCM scm_memoized_environment SCM_P ((SCM m)); +extern SCM scm_make_memoized SCM_P ((SCM exp, SCM env)); +extern SCM scm_memoized_p SCM_P ((SCM obj)); +extern SCM scm_single_step SCM_P ((SCM cont, SCM val)); +extern SCM scm_evaluator_traps SCM_P ((SCM setting)); +extern SCM scm_debug_options SCM_P ((SCM setting)); +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)); #endif /* DEBUGH */ |