svn commit: trunk/busybox/debianutils

vda at busybox.net vda at busybox.net
Sat Apr 19 17:40:30 UTC 2008


Author: vda
Date: 2008-04-19 10:40:29 -0700 (Sat, 19 Apr 2008)
New Revision: 21772

Log:
start_stop_daemon: mark argc as unused



Modified:
   trunk/busybox/debianutils/start_stop_daemon.c


Changeset:
Modified: trunk/busybox/debianutils/start_stop_daemon.c
===================================================================
--- trunk/busybox/debianutils/start_stop_daemon.c	2008-04-19 09:33:22 UTC (rev 21771)
+++ trunk/busybox/debianutils/start_stop_daemon.c	2008-04-19 17:40:29 UTC (rev 21772)
@@ -250,7 +250,7 @@
 };
 
 int start_stop_daemon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int start_stop_daemon_main(int argc, char **argv)
+int start_stop_daemon_main(int argc ATTRIBUTE_UNUSED, char **argv)
 {
 	unsigned opt;
 	char *signame;
@@ -292,7 +292,7 @@
 //		if (retry_arg)
 //			retries = xatoi_u(retry_arg);
 //	)
-	argc -= optind;
+	//argc -= optind;
 	argv += optind;
 
 	if (userspec) {




More information about the busybox-cvs mailing list