summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley2001-01-05 18:19:30 +0000
committerMark Whitley2001-01-05 18:19:30 +0000
commiteb60d8bcd1ea8f35af23b078e677350b86c1ee8d (patch)
treee0756a3c6d2222e9c99a49fbd36727b91753b709
parent55bccf315edda48fa9f3af4516b0897f29a78a9e (diff)
downloadbusybox-eb60d8bcd1ea8f35af23b078e677350b86c1ee8d.zip
busybox-eb60d8bcd1ea8f35af23b078e677350b86c1ee8d.tar.gz
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 8e64889..dc5918d 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -39,8 +39,8 @@ static struct suffix_mult null_suffixes[] = {
};
#endif
-#define BYTES 0
-#define LINES 1
+static const int BYTES = 0;
+static const int LINES = 1;
static char *tailbuf;
static int taillen;
diff --git a/tail.c b/tail.c
index 8e64889..dc5918d 100644
--- a/tail.c
+++ b/tail.c
@@ -39,8 +39,8 @@ static struct suffix_mult null_suffixes[] = {
};
#endif
-#define BYTES 0
-#define LINES 1
+static const int BYTES = 0;
+static const int LINES = 1;
static char *tailbuf;
static int taillen;