[BusyBox-cvs] svn commit: trunk/busybox/networking
vapier at busybox.net
vapier at busybox.net
Sat Apr 23 01:42:30 UTC 2005
Author: vapier
Date: 2005-04-22 19:42:29 -0600 (Fri, 22 Apr 2005)
New Revision: 10154
Log:
remove unused variable and declare writepid inline
Modified:
trunk/busybox/networking/fakeidentd.c
Changeset:
Modified: trunk/busybox/networking/fakeidentd.c
===================================================================
--- trunk/busybox/networking/fakeidentd.c 2005-04-23 01:42:03 UTC (rev 10153)
+++ trunk/busybox/networking/fakeidentd.c 2005-04-23 01:42:29 UTC (rev 10154)
@@ -153,7 +153,7 @@
}
/* 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 @@
int fakeidentd_main(int argc, char **argv)
{
- int flag;
-
memset(conns, 0, sizeof(conns));
memset(&G, 0, sizeof(G));
FD_ZERO(&G.readfds);
More information about the busybox-cvs
mailing list