summaryrefslogtreecommitdiff
path: root/libguile/eval.i.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-11-17 01:26:25 +0100
committerLudovic Courtès <ludo@gnu.org>2009-11-17 23:13:58 +0100
commit7f991c7d322c9eaf83515de97b61700be8fa7abb (patch)
treea003b92d9b31e903066e057a5a24deaf1fa93a91 /libguile/eval.i.c
parent6bd210e090be6e6ce3fbe65075185676f87b1eac (diff)
downloadguile-7f991c7d322c9eaf83515de97b61700be8fa7abb.tar.gz
Fix C99-style declarations after statements.
* libguile/eval.i.c (ceval): Move declarations before statements. * libguile/read.c (scm_read_extended_symbol): Likewise. * libguile/struct.c (scm_make_struct_layout): Likewise. * libguile/threads.c (fat_mutex_unlock): Likewise. * libguile/vm-i-system.c (br_if_nargs_ne, br_if_nargs_lt): Likewise. * libguile/vm.c (make_vm): Likewise.
Diffstat (limited to 'libguile/eval.i.c')
-rw-r--r--libguile/eval.i.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libguile/eval.i.c b/libguile/eval.i.c
index ccb612611..afbe9219c 100644
--- a/libguile/eval.i.c
+++ b/libguile/eval.i.c
@@ -883,9 +883,11 @@ dispatch:
#ifdef DEVAL
if (scm_check_memoize_p && SCM_TRAPS_P)
{
+ SCM arg1, retval;
+
SCM_CLEAR_TRACED_FRAME (debug);
- SCM arg1 = scm_make_debugobj (&debug);
- SCM retval = SCM_BOOL_T;
+ arg1 = scm_make_debugobj (&debug);
+ retval = SCM_BOOL_T;
SCM_TRAPS_P = 0;
retval = scm_call_4 (SCM_MEMOIZE_HDLR,
scm_sym_memoize_symbol,