1.0.10.54: Fix build with old gcc
authorNIIMI Satoshi <sa2c@users.sourceforge.net>
Sun, 21 Oct 2007 23:25:35 +0000 (23:25 +0000)
committerNIIMI Satoshi <sa2c@users.sourceforge.net>
Sun, 21 Oct 2007 23:25:35 +0000 (23:25 +0000)
Surround code fragment with braces for variable declarations.

src/runtime/bsd-os.c
version.lisp-expr

index e764c3e..c31ea5d 100644 (file)
@@ -384,14 +384,16 @@ static void freebsd_init()
      * x86-assem.S.
      */
 #ifdef LISP_FEATURE_X86
-    size_t len;
-    int instruction_sse;
-
-    len = sizeof(instruction_sse);
-    if (sysctlbyname("hw.instruction_sse", &instruction_sse, &len, NULL, 0) == 0
-        && instruction_sse != 0) {
-        /* Use the SSE detector */
-        fast_bzero_pointer = fast_bzero_detect;
+    {
+        size_t len;
+        int instruction_sse;
+
+        len = sizeof(instruction_sse);
+        if (sysctlbyname("hw.instruction_sse", &instruction_sse, &len,
+                         NULL, 0) == 0 && instruction_sse != 0) {
+            /* Use the SSE detector */
+            fast_bzero_pointer = fast_bzero_detect;
+        }
     }
 #endif /* LISP_FEATURE_X86 */
 }
index f39bf80..90eab03 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.10.53"
+"1.0.10.54"