]> granicus.if.org Git - nethack/commitdiff
redeclare n for SYSCF only
authornethack.allison <nethack.allison>
Fri, 24 Feb 2012 01:01:03 +0000 (01:01 +0000)
committernethack.allison <nethack.allison>
Fri, 24 Feb 2012 01:01:03 +0000 (01:01 +0000)
src/files.c

index 508502c7836aa3ec24cb132e9b24fa3dfcb56bd5..4283316fc49b7f3bfa395b3d412ba1992a22a541 100644 (file)
@@ -1987,11 +1987,13 @@ int             src;
 {
 #if defined(MICRO) && !defined(NOCWD_ASSUMPTIONS)
        static boolean ramdisk_specified = FALSE;
+#endif
+#ifdef SYSCF
+       int n;
 #endif
        char            *bufp, *altp;
        uchar   translate[MAXPCHARS];
        int   len;
-
        /* lines beginning with '#' are comments */
        if (*buf == '#')
                return 1;