diff options
author | Rob Landley <rob@landley.net> | 2006-08-29 19:41:06 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-08-29 19:41:06 +0000 |
commit | 88621d73980a3cb53c1f35e64a06d7cd64188987 (patch) | |
tree | c0398d52bf44783d2dc330b4b33a908a58d2d55b /networking/fakeidentd.c | |
parent | 8c1eda528a19b8af18568649e8d2b1ba5bda772e (diff) | |
download | busybox-w32-88621d73980a3cb53c1f35e64a06d7cd64188987.tar.gz busybox-w32-88621d73980a3cb53c1f35e64a06d7cd64188987.tar.bz2 busybox-w32-88621d73980a3cb53c1f35e64a06d7cd64188987.zip |
Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damage
(the e2fsprogs directory is too twisty and evil to easily fix, but I plan
to rewrite it anyway so I'll just bump that up in priority a bit).
Diffstat (limited to 'networking/fakeidentd.c')
-rw-r--r-- | networking/fakeidentd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c index 6ee7c328e..b965147e1 100644 --- a/networking/fakeidentd.c +++ b/networking/fakeidentd.c | |||
@@ -64,7 +64,7 @@ static void replyError(int s, char *buf); | |||
64 | static const char *nobodystr = "nobody"; /* this needs to be declared like this */ | 64 | static const char *nobodystr = "nobody"; /* this needs to be declared like this */ |
65 | static char *bind_ip_address = "0.0.0.0"; | 65 | static char *bind_ip_address = "0.0.0.0"; |
66 | 66 | ||
67 | static inline void movefd(int from, int to) | 67 | static void movefd(int from, int to) |
68 | { | 68 | { |
69 | if (from != to) { | 69 | if (from != to) { |
70 | dup2(from, to); | 70 | dup2(from, to); |
@@ -108,7 +108,7 @@ static void handlexitsigs(int signum) | |||
108 | } | 108 | } |
109 | 109 | ||
110 | /* May succeed. If not, won't care. */ | 110 | /* May succeed. If not, won't care. */ |
111 | static inline void writepid(uid_t nobody, uid_t nogrp) | 111 | static void writepid(uid_t nobody, uid_t nogrp) |
112 | { | 112 | { |
113 | char buf[24]; | 113 | char buf[24]; |
114 | int fd = open(PIDFILE, O_WRONLY|O_CREAT|O_TRUNC, 0664); | 114 | int fd = open(PIDFILE, O_WRONLY|O_CREAT|O_TRUNC, 0664); |