diff --git a/libguile/throw.c b/libguile/throw.c index 41aff91f4..4bbbaaaca 100644 --- a/libguile/throw.c +++ b/libguile/throw.c @@ -53,15 +53,12 @@ #include "continuations.h" #include "throw.h" + - - /* {Catch and Throw} */ static int scm_tc16_jmpbuffer; -SCM scm_bad_throw_vcell; - #define SCM_JMPBUFP(O) (SCM_TYP16(O) == scm_tc16_jmpbuffer) #define JBACTIVE(O) (SCM_CAR (O) & (1L << 16L)) #define ACTIVATEJB(O) (SCM_CAR (O) |= (1L << 16L)) @@ -76,30 +73,23 @@ SCM scm_bad_throw_vcell; #define SCM_SETJBDFRAME(O,X) SCM_CAR(SCM_CDR (O)) = (SCM)(X) #define SETJBJMPBUF(O,X) SCM_SETCDR(SCM_CDR (O), X) -#ifdef __STDC__ -static scm_sizet -freejb (SCM jbsmob) -#else +static scm_sizet freejb SCM_P ((SCM jbsmob)); + static scm_sizet freejb (jbsmob) SCM jbsmob; -#endif { scm_must_free ((char *) SCM_CDR (jbsmob)); return sizeof (scm_cell); } #endif -#ifdef __STDC__ -static int -printjb (SCM exp, SCM port, scm_print_state *pstate) -#else +static int printjb SCM_P ((SCM exp, SCM port, scm_print_state *pstate)); static int printjb (exp, port, pstate) SCM exp; SCM port; scm_print_state *pstate; -#endif { scm_gen_puts (scm_regular_string, "#