aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/strings.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-08-25 15:32:22 -0500
committerRob Landley <rob@landley.net>2018-08-25 15:32:22 -0500
commit482c422f8e8ec517de071266d425b425c4628103 (patch)
tree709d459ba58b1416c340ffedab69faf21d4bee99 /toys/posix/strings.c
parent79c403179b603a9f3c8cd120a93c2f560017864b (diff)
downloadtoybox-482c422f8e8ec517de071266d425b425c4628103.tar.gz
Convert more argument variables in GLOBALS() to new style.
Diffstat (limited to 'toys/posix/strings.c')
-rw-r--r--toys/posix/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/strings.c b/toys/posix/strings.c
index 911fc452..e33ae960 100644
--- a/toys/posix/strings.c
+++ b/toys/posix/strings.c
@@ -32,13 +32,13 @@ config STRINGS
#include "toys.h"
GLOBALS(
- long num;
+ long n;
char *t;
)
static void do_strings(int fd, char *filename)
{
- int nread, i, wlen = TT.num, count = 0;
+ int nread, i, wlen = TT.n, count = 0;
off_t offset = 0;
char *string = 0, pattern[8];