From a8bb97e6346b29fae6bf7af25639b08b161be832 Mon Sep 17 00:00:00 2001 From: markw Date: Fri, 5 Jan 2001 18:19:30 +0000 Subject: Turned some #define constants into static const ints. git-svn-id: svn://busybox.net/trunk/busybox@1540 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- coreutils/tail.c | 4 ++-- tail.c | 4 ++-- 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[] = { }; #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 8e6488931..dc5918d6b 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; -- cgit v1.2.3-55-g6feb