patch-2.1.9 linux/include/linux/msg.h

Next file: linux/include/linux/netdevice.h
Previous file: linux/include/linux/major.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/include/linux/msg.h linux/include/linux/msg.h
@@ -3,6 +3,10 @@
 
 #include <linux/ipc.h>
 
+/* ipcs ctl commands */
+#define MSG_STAT 11
+#define MSG_INFO 12
+
 /* msgrcv options */
 #define MSG_NOERROR     010000  /* no error if message is too big */
 #define MSG_EXCEPT      020000  /* recv any msg except of specified type.*/
@@ -64,10 +68,6 @@
 	time_t msg_stime;       /* msgsnd time */
 	short msg_ts;           /* message text size */
 };
-
-/* ipcs ctl commands */
-#define MSG_STAT 11
-#define MSG_INFO 12
 
 asmlinkage int sys_msgget (key_t key, int msgflg);
 asmlinkage int sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov