OSDN Git Service

Silly little changes
authorEric Andersen <andersen@codepoet.org>
Wed, 3 Oct 2001 09:15:04 +0000 (09:15 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 3 Oct 2001 09:15:04 +0000 (09:15 -0000)
libc/sysdeps/linux/common/getdnnm.c
libc/sysdeps/linux/common/setegid.c
libc/sysdeps/linux/common/syscalls.c

index 5e1f97b..aa5a7d7 100644 (file)
@@ -1,9 +1,11 @@
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <errno.h>
 #define __USE_GNU
 #include <sys/utsname.h>
 
+
 int
 getdomainname(char *name, size_t len)
 {
index 0869119..90928c2 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <unistd.h>
 #include <sys/types.h>
 
index 6133746..78c1463 100644 (file)
@@ -282,7 +282,7 @@ _syscall0(void, sync);
 
 //#define __NR_kill             37
 #ifdef L_kill
-#include <signal.h>
+//#include <signal.h>
 _syscall2(int, kill, pid_t, pid, int, sig);
 #endif
 
@@ -498,7 +498,8 @@ _syscall0(pid_t, setsid);
 
 //#define __NR_sigaction        67
 #ifdef L_sigaction
-#include <signal.h>
+//#include <signal.h>
+struct sigaction;
 _syscall3(int, sigaction, int, signum, const struct sigaction *, act,
                  struct sigaction *, oldact);
 #endif
@@ -521,13 +522,13 @@ _syscall2(int, setregid, gid_t, rgid, gid_t, egid);
 
 //#define __NR_sigsuspend       72
 #ifdef L_sigsuspend
-#include <signal.h>
+//#include <signal.h>
 _syscall1(int, sigsuspend, const sigset_t *, mask);
 #endif
 
 //#define __NR_sigpending       73
 #ifdef L_sigpending
-#include <signal.h>
+//#include <signal.h>
 _syscall1(int, sigpending, sigset_t *, set);
 #endif
 
@@ -941,7 +942,7 @@ _syscall3(int, mprotect, void *, addr, size_t, len, int, prot);
 
 //#define __NR_sigprocmask      126
 #ifdef L_sigprocmask
-#include <signal.h>
+//#include <signal.h>
 _syscall3(int, sigprocmask, int, how, const sigset_t *, set, sigset_t *,
                  oldset);
 #endif