projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b2e271
)
remove unused variable and declare writepid inline
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Apr 2005 01:42:29 +0000
(
01:42
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Apr 2005 01:42:29 +0000
(
01:42
-0000)
networking/fakeidentd.c
patch
|
blob
|
history
diff --git
a/networking/fakeidentd.c
b/networking/fakeidentd.c
index a7cf4d11e852b146e142689531234a3523a0d2c2..d41177b074a39677c8d27155dac1c317d61ae64c 100644
(file)
--- a/
networking/fakeidentd.c
+++ b/
networking/fakeidentd.c
@@
-153,7
+153,7
@@
static void handlexitsigs(int signum)
}
/* May succeed. If not, won't care. */
-static void writepid(uid_t nobody, uid_t nogrp)
+static
inline
void writepid(uid_t nobody, uid_t nogrp)
{
char buf[24];
int fd = open(PIDFILE, O_WRONLY|O_CREAT|O_TRUNC, 0664);
@@
-266,8
+266,6
@@
static int checkInput(char *buf, int len, int l)
int fakeidentd_main(int argc, char **argv)
{
- int flag;
-
memset(conns, 0, sizeof(conns));
memset(&G, 0, sizeof(G));
FD_ZERO(&G.readfds);