* modules.c (s_scm_module_import_interface): move declaration of
authorRob Browning <rlb@defaultvalue.org>
Sat, 5 Apr 2003 22:34:10 +0000 (22:34 +0000)
committerRob Browning <rlb@defaultvalue.org>
Sat, 5 Apr 2003 22:34:10 +0000 (22:34 +0000)
uses before any code.

libguile/modules.c

index 6070638..801bd77 100644 (file)
@@ -395,9 +395,10 @@ SCM_DEFINE (scm_module_import_interface, "module-import-interface", 2, 0, 0,
 #define FUNC_NAME s_scm_module_import_interface
 {
 #define SCM_BOUND_THING_P(b) (!SCM_FALSEP (b))
+  SCM uses;
   SCM_VALIDATE_MODULE (SCM_ARG1, module);
   /* Search the use list */
-  SCM uses = SCM_MODULE_USES (module);
+  uses = SCM_MODULE_USES (module);
   while (SCM_CONSP (uses))
     {
       SCM interface = SCM_CAR (uses);