summaryrefslogtreecommitdiff
path: root/libguile/eval.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1996-10-14 01:33:50 +0000
committerJim Blandy <jimb@red-bean.com>1996-10-14 01:33:50 +0000
commit1cc91f1b2937a230a2dc80dd25cc6003b7b8f2b5 (patch)
tree64ddce6a971f0e0ca6ddd41d9ac0f5b999122484 /libguile/eval.h
parent1717856b4e8072b5aebab2324fcfba55bc504369 (diff)
downloadguile-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/eval.h')
-rw-r--r--libguile/eval.h173
1 files changed, 58 insertions, 115 deletions
diff --git a/libguile/eval.h b/libguile/eval.h
index fb40b7ece..8ea32b430 100644
--- a/libguile/eval.h
+++ b/libguile/eval.h
@@ -108,120 +108,63 @@ extern SCM scm_i_name;
#define SCM_GLOC_VAL(x) (SCM_CDR((x)-1L))
-#ifdef __STDC__
-extern SCM * scm_ilookup (SCM iloc, SCM env);
-extern SCM * scm_lookupcar (SCM vloc, SCM genv);
-extern SCM scm_unmemocar (SCM form, SCM env);
-extern SCM scm_unmemocopy (SCM form, SCM env);
-extern SCM scm_eval_car (SCM pair, SCM env);
-extern SCM scm_eval_args (SCM i, SCM env);
-extern SCM scm_deval_args (SCM l, SCM env, SCM *lloc);
-extern SCM scm_m_quote (SCM xorig, SCM env);
-extern SCM scm_m_begin (SCM xorig, SCM env);
-extern SCM scm_m_if (SCM xorig, SCM env);
-extern SCM scm_m_set (SCM xorig, SCM env);
-extern SCM scm_m_vref (SCM xorig, SCM env);
-extern SCM scm_m_vset (SCM xorig, SCM env);
-extern SCM scm_m_and (SCM xorig, SCM env);
-extern SCM scm_m_or (SCM xorig, SCM env);
-extern SCM scm_m_case (SCM xorig, SCM env);
-extern SCM scm_m_cond (SCM xorig, SCM env);
-extern SCM scm_m_lambda (SCM xorig, SCM env);
-extern SCM scm_m_letstar (SCM xorig, SCM env);
-extern SCM scm_m_do (SCM xorig, SCM env);
-extern SCM scm_m_quasiquote (SCM xorig, SCM env);
-extern SCM scm_m_delay (SCM xorig, SCM env);
-extern SCM scm_m_define (SCM x, SCM env);
-extern SCM scm_m_letrec (SCM xorig, SCM env);
-extern SCM scm_m_let (SCM xorig, SCM env);
-extern SCM scm_m_apply (SCM xorig, SCM env);
-extern SCM scm_m_cont (SCM xorig, SCM env);
-extern SCM scm_m_undefine (SCM x, SCM env);
-extern int scm_badargsp (SCM formals, SCM args);
-extern SCM scm_ceval (SCM x, SCM env);
-extern SCM scm_deval (SCM x, SCM env);
-extern SCM scm_procedure_documentation (SCM proc);
-extern SCM scm_nconc2last (SCM lst);
-extern SCM scm_apply (SCM proc, SCM arg1, SCM args);
-extern SCM scm_dapply (SCM proc, SCM arg1, SCM args);
-extern SCM SCM_APPLY (SCM proc, SCM arg1, SCM args);
-extern SCM scm_map (SCM proc, SCM arg1, SCM args);
-extern SCM scm_for_each (SCM proc, SCM arg1, SCM args);
-extern SCM scm_closure (SCM code, SCM env);
-extern SCM scm_makprom (SCM code);
-extern SCM scm_makacro (SCM code);
-extern SCM scm_makmacro (SCM code);
-extern SCM scm_makmmacro (SCM code);
-extern SCM scm_force (SCM x);
-extern SCM scm_promise_p (SCM x);
-extern SCM scm_copy_tree (SCM obj);
-extern SCM scm_eval_3 (SCM obj, int copyp, SCM env);
-extern SCM scm_top_level_env (SCM thunk);
-extern SCM scm_eval2 (SCM obj, SCM env_thunk);
-extern SCM scm_eval (SCM obj);
-extern SCM scm_eval_x (SCM obj);
-extern SCM scm_macro_eval_x (SCM exp, SCM env);
-extern SCM scm_definedp (SCM x, SCM env);
-extern SCM scm_make_synt (char *name, SCM (*macroizer) (), SCM (*fcn) ());
-extern void scm_init_eval (void);
-
-#else /* STDC */
-extern SCM * scm_ilookup ();
-extern SCM * scm_lookupcar ();
-extern SCM scm_unmemocar ();
-extern SCM scm_unmemocopy ();
-extern SCM scm_eval_car ();
-extern SCM scm_eval_args ();
-extern SCM scm_deval_args ();
-extern SCM scm_m_quote ();
-extern SCM scm_m_begin ();
-extern SCM scm_m_if ();
-extern SCM scm_m_set ();
-extern SCM scm_m_vref ();
-extern SCM scm_m_vset ();
-extern SCM scm_m_and ();
-extern SCM scm_m_or ();
-extern SCM scm_m_case ();
-extern SCM scm_m_cond ();
-extern SCM scm_m_lambda ();
-extern SCM scm_m_letstar ();
-extern SCM scm_m_do ();
-extern SCM scm_m_quasiquote ();
-extern SCM scm_m_delay ();
-extern SCM scm_m_define ();
-extern SCM scm_m_letrec ();
-extern SCM scm_m_let ();
-extern SCM scm_m_apply ();
-extern SCM scm_m_cont ();
-extern SCM scm_m_undefine ();
-extern int scm_badargsp ();
-extern SCM scm_ceval ();
-extern SCM scm_deval ();
-extern SCM scm_procedure_documentation ();
-extern SCM scm_nconc2last ();
-extern SCM scm_apply ();
-extern SCM scm_dapply ();
-extern SCM SCM_APPLY ();
-extern SCM scm_map ();
-extern SCM scm_for_each ();
-extern SCM scm_closure ();
-extern SCM scm_makprom ();
-extern SCM scm_makacro ();
-extern SCM scm_makmacro ();
-extern SCM scm_makmmacro ();
-extern SCM scm_force ();
-extern SCM scm_promise_p ();
-extern SCM scm_copy_tree ();
-extern SCM scm_eval_3 ();
-extern SCM scm_top_level_env ();
-extern SCM scm_eval2 ();
-extern SCM scm_eval ();
-extern SCM scm_eval_x ();
-extern SCM scm_macro_eval_x ();
-extern SCM scm_definedp ();
-extern SCM scm_make_synt ();
-extern void scm_init_eval ();
-
-#endif /* STDC */
+
+extern SCM * scm_ilookup SCM_P ((SCM iloc, SCM env));
+extern SCM * scm_lookupcar SCM_P ((SCM vloc, SCM genv));
+extern SCM scm_unmemocar SCM_P ((SCM form, SCM env));
+extern SCM scm_unmemocopy SCM_P ((SCM form, SCM env));
+extern SCM scm_eval_car SCM_P ((SCM pair, SCM env));
+extern SCM scm_eval_args SCM_P ((SCM i, SCM env));
+extern SCM scm_deval_args SCM_P ((SCM l, SCM env, SCM *lloc));
+extern SCM scm_m_quote SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_begin SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_if SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_set SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_vref SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_vset SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_and SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_or SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_case SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_cond SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_lambda SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_letstar SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_do SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_quasiquote SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_delay SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_define SCM_P ((SCM x, SCM env));
+extern SCM scm_m_letrec SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_let SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_apply SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_cont SCM_P ((SCM xorig, SCM env));
+extern SCM scm_m_undefine SCM_P ((SCM x, SCM env));
+extern int scm_badargsp SCM_P ((SCM formals, SCM args));
+extern SCM scm_ceval SCM_P ((SCM x, SCM env));
+extern SCM scm_deval SCM_P ((SCM x, SCM env));
+extern SCM scm_procedure_documentation SCM_P ((SCM proc));
+extern SCM scm_nconc2last SCM_P ((SCM lst));
+extern SCM scm_apply SCM_P ((SCM proc, SCM arg1, SCM args));
+extern SCM scm_dapply SCM_P ((SCM proc, SCM arg1, SCM args));
+extern SCM SCM_APPLY SCM_P ((SCM proc, SCM arg1, SCM args));
+extern SCM scm_map SCM_P ((SCM proc, SCM arg1, SCM args));
+extern SCM scm_for_each SCM_P ((SCM proc, SCM arg1, SCM args));
+extern SCM scm_closure SCM_P ((SCM code, SCM env));
+extern SCM scm_makprom SCM_P ((SCM code));
+extern SCM scm_makacro SCM_P ((SCM code));
+extern SCM scm_makmacro SCM_P ((SCM code));
+extern SCM scm_makmmacro SCM_P ((SCM code));
+extern SCM scm_force SCM_P ((SCM x));
+extern SCM scm_promise_p SCM_P ((SCM x));
+extern SCM scm_copy_tree SCM_P ((SCM obj));
+extern SCM scm_eval_3 SCM_P ((SCM obj, int copyp, SCM env));
+extern SCM scm_top_level_env SCM_P ((SCM thunk));
+extern SCM scm_eval2 SCM_P ((SCM obj, SCM env_thunk));
+extern SCM scm_eval SCM_P ((SCM obj));
+extern SCM scm_eval_x SCM_P ((SCM obj));
+extern SCM scm_macro_eval_x SCM_P ((SCM exp, SCM env));
+extern SCM scm_definedp SCM_P ((SCM x, SCM env));
+extern SCM scm_make_synt SCM_P ((char *name,
+ SCM (*macroizer) (SCM),
+ SCM (*fcn) ()));
+extern void scm_init_eval SCM_P ((void));
#endif /* EVALH */