summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-01-05 18:19:30 +0000
committerMark Whitley <markw@lineo.com>2001-01-05 18:19:30 +0000
commiteb60d8bcd1ea8f35af23b078e677350b86c1ee8d (patch)
treee0756a3c6d2222e9c99a49fbd36727b91753b709
parent55bccf315edda48fa9f3af4516b0897f29a78a9e (diff)
downloadbusybox-w32-eb60d8bcd1ea8f35af23b078e677350b86c1ee8d.tar.gz
busybox-w32-eb60d8bcd1ea8f35af23b078e677350b86c1ee8d.tar.bz2
busybox-w32-eb60d8bcd1ea8f35af23b078e677350b86c1ee8d.zip
Turned some #define constants into static const ints.
-rw-r--r--coreutils/tail.c4
-rw-r--r--tail.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 8e6488931..dc5918d6b 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -39,8 +39,8 @@ static struct suffix_mult null_suffixes[] = {
39}; 39};
40#endif 40#endif
41 41
42#define BYTES 0 42static const int BYTES = 0;
43#define LINES 1 43static const int LINES = 1;
44 44
45static char *tailbuf; 45static char *tailbuf;
46static int taillen; 46static int taillen;
diff --git a/tail.c b/tail.c
index 8e6488931..dc5918d6b 100644
--- a/tail.c
+++ b/tail.c
@@ -39,8 +39,8 @@ static struct suffix_mult null_suffixes[] = {
39}; 39};
40#endif 40#endif
41 41
42#define BYTES 0 42static const int BYTES = 0;
43#define LINES 1 43static const int LINES = 1;
44 44
45static char *tailbuf; 45static char *tailbuf;
46static int taillen; 46static int taillen;