svn commit: trunk/busybox/coreutils

pgf at busybox.net pgf at busybox.net
Thu Dec 8 18:48:25 UTC 2005


Author: pgf
Date: 2005-12-08 10:48:20 -0800 (Thu, 08 Dec 2005)
New Revision: 12751

Log:
avoid mixed declarations, to support older compilers just a little longer.


Modified:
   trunk/busybox/coreutils/fold.c


Changeset:
Modified: trunk/busybox/coreutils/fold.c
===================================================================
--- trunk/busybox/coreutils/fold.c	2005-12-08 15:05:30 UTC (rev 12750)
+++ trunk/busybox/coreutils/fold.c	2005-12-08 18:48:20 UTC (rev 12751)
@@ -47,6 +47,8 @@
 
 extern int fold_main(int argc, char **argv)
 {
+	char *w_opt;
+
 	/* If nonzero, at least one of the files we read was standard input. */
 	int have_read_stdin = 0;
 
@@ -74,7 +76,6 @@
 		}
 	}
 
-	char *w_opt;
 	flags = bb_getopt_ulflags(argc, argv, "bsw:", &w_opt);
 	if (flags & 4)
 		width = bb_xgetlarg(w_opt, 10, 1, 10000);




More information about the busybox-cvs mailing list