diff options
author | dg <dg@FreeBSD.org> | 1994-09-23 08:28:43 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-09-23 08:28:43 +0000 |
commit | 02fde0fde8a319ed556115c66848514fc2ad10c1 (patch) | |
tree | b6a1271d620d1e2cee48d5cfc2a36aa7b1299a24 /gnu/usr.bin/awk/io.c | |
parent | 52e444285421c38384d2364f6ff3925cea77ed5d (diff) | |
download | FreeBSD-src-02fde0fde8a319ed556115c66848514fc2ad10c1.zip FreeBSD-src-02fde0fde8a319ed556115c66848514fc2ad10c1.tar.gz |
Fixed a couple of compiler warnings related to wrong prototypes.
Diffstat (limited to 'gnu/usr.bin/awk/io.c')
-rw-r--r-- | gnu/usr.bin/awk/io.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/awk/io.c b/gnu/usr.bin/awk/io.c index 7fe21ec..93cc3ae 100644 --- a/gnu/usr.bin/awk/io.c +++ b/gnu/usr.bin/awk/io.c @@ -646,7 +646,8 @@ devopen(name, mode) const char *name, *mode; { int openfd = INVALID_HANDLE; - const char *cp, *ptr; + const char *cp; + char *ptr; int flag = 0; struct stat buf; extern double strtod(); @@ -806,7 +807,7 @@ const char *name, *mode; char tbuf[BUFSIZ], *cp; int i; #if defined(NGROUPS_MAX) && NGROUPS_MAX > 0 -#if defined(atarist) || defined(__svr4__) || defined(__osf__) +#if defined(atarist) || defined(__svr4__) || defined(__osf__) || defined(__FreeBSD__) gid_t groupset[NGROUPS_MAX]; #else int groupset[NGROUPS_MAX]; |