From 703e20235aa0624d3ff4335c1e86edaa6e21efe2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 22 Jan 2007 14:12:08 +0000 Subject: cleanups: unnecessary casts, unified const_1, eliminate cross-.c file prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs. --- shell/lash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/lash.c b/shell/lash.c index 4ea4e67..90bd168 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -30,7 +30,7 @@ #define CONFIG_LASH_PIPE_N_REDIRECTS #define CONFIG_LASH_JOB_CONTROL -static const int MAX_READ = 128; /* size of input buffer for `read' builtin */ +enum { MAX_READ = 128 }; /* size of input buffer for 'read' builtin */ #define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n" -- cgit v1.1