diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-10 15:42:06 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-10 15:42:06 +0000 |
commit | ff131b980d524a33d8a43cefe65e14f64a43f2da (patch) | |
tree | 82d252f04f9a8511be452dcd8b5e322c59653c72 /util-linux | |
parent | 163516da3ae54a587fb476c621793bd206f380c2 (diff) | |
download | busybox-w32-ff131b980d524a33d8a43cefe65e14f64a43f2da.tar.gz busybox-w32-ff131b980d524a33d8a43cefe65e14f64a43f2da.tar.bz2 busybox-w32-ff131b980d524a33d8a43cefe65e14f64a43f2da.zip |
style fixes. No code changes.
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/ipcrm.c | 2 | ||||
-rw-r--r-- | util-linux/ipcs.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/ipcrm.c b/util-linux/ipcrm.c index d13fb83b1..025f527cf 100644 --- a/util-linux/ipcrm.c +++ b/util-linux/ipcrm.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <sys/msg.h> | 17 | #include <sys/msg.h> |
18 | #include <sys/sem.h> | 18 | #include <sys/sem.h> |
19 | 19 | ||
20 | #if defined (__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) | 20 | #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) |
21 | /* union semun is defined by including <sys/sem.h> */ | 21 | /* union semun is defined by including <sys/sem.h> */ |
22 | #else | 22 | #else |
23 | /* according to X/OPEN we have to define it ourselves */ | 23 | /* according to X/OPEN we have to define it ourselves */ |
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c index 5a7b22434..489480c85 100644 --- a/util-linux/ipcs.c +++ b/util-linux/ipcs.c | |||
@@ -67,7 +67,7 @@ struct shm_info { | |||
67 | /* The last arg of semctl is a union semun, but where is it defined? | 67 | /* The last arg of semctl is a union semun, but where is it defined? |
68 | X/OPEN tells us to define it ourselves, but until recently | 68 | X/OPEN tells us to define it ourselves, but until recently |
69 | Linux include files would also define it. */ | 69 | Linux include files would also define it. */ |
70 | #if defined (__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) | 70 | #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) |
71 | /* union semun is defined by including <sys/sem.h> */ | 71 | /* union semun is defined by including <sys/sem.h> */ |
72 | #else | 72 | #else |
73 | /* according to X/OPEN we have to define it ourselves */ | 73 | /* according to X/OPEN we have to define it ourselves */ |
@@ -84,7 +84,7 @@ union semun { | |||
84 | <linux/ipc.h>, which defines a struct ipc_perm with such fields. | 84 | <linux/ipc.h>, which defines a struct ipc_perm with such fields. |
85 | glibc-1.09 has no support for sysv ipc. | 85 | glibc-1.09 has no support for sysv ipc. |
86 | glibc 2 uses __key, __seq */ | 86 | glibc 2 uses __key, __seq */ |
87 | #if defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1 | 87 | #if defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1 |
88 | #define KEY __key | 88 | #define KEY __key |
89 | #else | 89 | #else |
90 | #define KEY key | 90 | #define KEY key |