projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55bccf3
)
Turned some #define constants into static const ints.
author
Mark Whitley
<markw@lineo.com>
Fri, 5 Jan 2001 18:19:30 +0000
(18:19 -0000)
committer
Mark Whitley
<markw@lineo.com>
Fri, 5 Jan 2001 18:19:30 +0000
(18:19 -0000)
coreutils/tail.c
patch
|
blob
|
history
tail.c
patch
|
blob
|
history
diff --git
a/coreutils/tail.c
b/coreutils/tail.c
index 8e6488931c8f0994019977ce4dcfa15b446f031f..dc5918d6b23f31a85f5dd4887248cfa7f404bd81 100644
(file)
--- 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 8e6488931c8f0994019977ce4dcfa15b446f031f..dc5918d6b23f31a85f5dd4887248cfa7f404bd81 100644
(file)
--- 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;