From eb60d8bcd1ea8f35af23b078e677350b86c1ee8d Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Fri, 5 Jan 2001 18:19:30 +0000 Subject: [PATCH] Turned some #define constants into static const ints. --- 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; -- 2.25.1