summaryrefslogtreecommitdiff
path: root/runit/runsv.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-05 09:18:54 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-05 09:18:54 +0000
commita60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch)
treef59bc665cfe3d2d32622450d80523e3c1265e501 /runit/runsv.c
parentf6efccc0659a2e2978f2021153f34ce92257ad2b (diff)
downloadbusybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz
busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.bz2
busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'runit/runsv.c')
-rw-r--r--runit/runsv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index 6981fa774..bd0f3dcc2 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -127,12 +127,12 @@ static void warn_cannot(const char *m)
127 bb_perror_msg("%s: warning: cannot %s", dir, m); 127 bb_perror_msg("%s: warning: cannot %s", dir, m);
128} 128}
129 129
130static void s_child(int sig_no ATTRIBUTE_UNUSED) 130static void s_child(int sig_no UNUSED_PARAM)
131{ 131{
132 write(selfpipe.wr, "", 1); 132 write(selfpipe.wr, "", 1);
133} 133}
134 134
135static void s_term(int sig_no ATTRIBUTE_UNUSED) 135static void s_term(int sig_no UNUSED_PARAM)
136{ 136{
137 sigterm = 1; 137 sigterm = 1;
138 write(selfpipe.wr, "", 1); /* XXX */ 138 write(selfpipe.wr, "", 1); /* XXX */
@@ -434,7 +434,7 @@ static int ctrl(struct svdir *s, char c)
434} 434}
435 435
436int runsv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 436int runsv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
437int runsv_main(int argc ATTRIBUTE_UNUSED, char **argv) 437int runsv_main(int argc UNUSED_PARAM, char **argv)
438{ 438{
439 struct stat s; 439 struct stat s;
440 int fd; 440 int fd;