Messages in this thread Patch in this message | | | Date | Sat, 2 Jan 1999 01:43:56 -0800 (PST) | From | Trevor Johnson <> | Subject | patch: Linux 2.2.0-pre3 ipc/util.c badness |
| |
I got these warnings when compiling for i386 with gcc 2.7.2.3 and a minimal configuration (http://www.jpj.net/~trevor/linux/config-2.2.0-pre3-minimum):
util.c:87: warning: `struct msgbuf' declared inside parameter list util.c:87: warning: its scope is only this definition or declaration, util.c:87: warning: which is probably not what you want. util.c:93: warning: `struct msgbuf' declared inside parameter list util.c:98: warning: `struct msqid_ds' declared inside parameter list
They are eliminated by the patch below. ___ Trevor Johnson
--- linux-2.2.0-pre3/ipc/util.c~ Tue Nov 24 09:21:11 1998 +++ linux-2.2.0-pre3/ipc/util.c Fri Jan 1 23:53:36 1999 @@ -12,7 +12,8 @@ #include <linux/mm.h> #include <linux/shm.h> #include <linux/init.h> - +#include <linux/msg.h> +#include <asm/ipc.h> #include <asm/uaccess.h> #if defined(CONFIG_SYSVIPC)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |