summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-09-21 09:03:37 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-09-21 09:03:37 +0000
commit86ce5365215ab252e0d1904b410381c96cfc4076 (patch)
tree31fa44377022e7f830d89086dc857492f558c1fc /usr.bin
parent6129f33eb2416b5573a780b7bba3e9a591cf690a (diff)
downloadsrc-test2-86ce5365215ab252e0d1904b410381c96cfc4076.tar.gz
src-test2-86ce5365215ab252e0d1904b410381c96cfc4076.zip
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/grep/file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/grep/file.c b/usr.bin/grep/file.c
index ebcbd706b828..3d86bef010e5 100644
--- a/usr.bin/grep/file.c
+++ b/usr.bin/grep/file.c
@@ -55,12 +55,12 @@ __FBSDID("$FreeBSD$");
#define MAXBUFSIZ (32 * 1024)
#define LNBUFBUMP 80
-static unsigned char *buffer;
-static unsigned char *bufpos;
+static char *buffer;
+static char *bufpos;
static size_t bufrem;
static size_t fsiz;
-static unsigned char *lnbuf;
+static char *lnbuf;
static size_t lnbuflen;
static inline int
@@ -97,7 +97,7 @@ grep_lnbufgrow(size_t newlen)
char *
grep_fgetln(struct file *f, struct parsec *pc)
{
- unsigned char *p;
+ char *p;
char *ret;
size_t len;
size_t off;