diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-07-29 03:09:29 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-07-29 03:09:29 +0000 |
commit | ecfe89622d91d2325a2904c0582e29b57711f45b (patch) | |
tree | d69e7c577fa10baaaa16d35b3b1b3970043278e6 /include | |
parent | 32b3fe8f5662c26a6097927047c5ce493be88615 (diff) |
Cleanup ...
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ipc.h | 2 | ||||
-rw-r--r-- | include/linux/msg.h | 4 | ||||
-rw-r--r-- | include/linux/string.h | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/ipc.h b/include/linux/ipc.h index 88824df8a..10840cab1 100644 --- a/include/linux/ipc.h +++ b/include/linux/ipc.h @@ -3,7 +3,7 @@ #include <linux/types.h> -#define IPC_PRIVATE ((key_t) 0) +#define IPC_PRIVATE ((__kernel_key_t) 0) struct ipc_perm { diff --git a/include/linux/msg.h b/include/linux/msg.h index deda19265..d63a388ca 100644 --- a/include/linux/msg.h +++ b/include/linux/msg.h @@ -3,10 +3,6 @@ #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.*/ diff --git a/include/linux/string.h b/include/linux/string.h index 4ec3291c4..214503c20 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -13,7 +13,7 @@ extern "C" { extern char * ___strtok; extern char * strcpy(char *,const char *); -extern char * strncpy(char *,const char *,__kernel_size_t); +extern char * strncpy(char *,const char *, __kernel_size_t); extern char * strcat(char *, const char *); extern char * strncat(char *, const char *, __kernel_size_t); extern char * strchr(const char *,int); |