diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
commit | f9fc827448679cf1d41e56512c34521bf06ce37a (patch) | |
tree | 6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/sys/msgbuf.h | |
parent | 44fc281f480837836035856eb0af25443f0d2146 (diff) | |
download | FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.zip FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.tar.gz |
Fix up some sloppy coding practices:
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
Diffstat (limited to 'sys/sys/msgbuf.h')
-rw-r--r-- | sys/sys/msgbuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/msgbuf.h b/sys/sys/msgbuf.h index d47058b..87f8552 100644 --- a/sys/sys/msgbuf.h +++ b/sys/sys/msgbuf.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)msgbuf.h 8.1 (Berkeley) 6/2/93 - * $Id$ + * $Id: msgbuf.h,v 1.2 1994/08/02 07:53:16 davidg Exp $ */ #define MSG_BSIZE (4096 - 3 * sizeof(long)) @@ -43,5 +43,5 @@ struct msgbuf { char msg_bufc[MSG_BSIZE]; /* buffer */ }; #ifdef KERNEL -struct msgbuf *msgbufp; +extern struct msgbuf *msgbufp; #endif |