summaryrefslogtreecommitdiff
path: root/debianutils/start_stop_daemon.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-04-19 17:40:29 +0000
committerDenis Vlasenko2008-04-19 17:40:29 +0000
commit5a96c3eab63c2e3349d8bc4be471b3a730fd109b (patch)
tree54e00780f64dfb2ef60d43078c29b7bccd9fa145 /debianutils/start_stop_daemon.c
parenta4e55ab8407563ee1ecd74a6db0e2d6fec1059f9 (diff)
downloadbusybox-5a96c3eab63c2e3349d8bc4be471b3a730fd109b.zip
busybox-5a96c3eab63c2e3349d8bc4be471b3a730fd109b.tar.gz
start_stop_daemon: mark argc as unused
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-rw-r--r--debianutils/start_stop_daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index a2679f3..601fd72 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -250,7 +250,7 @@ enum {
};
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 @@ int start_stop_daemon_main(int argc, char **argv)
// if (retry_arg)
// retries = xatoi_u(retry_arg);
// )
- argc -= optind;
+ //argc -= optind;
argv += optind;
if (userspec) {