diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 09:18:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 09:18:54 +0000 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /runit/chpst.c | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) |
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'runit/chpst.c')
-rw-r--r-- | runit/chpst.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/runit/chpst.c b/runit/chpst.c index 4de53f051..899a4eef0 100644 --- a/runit/chpst.c +++ b/runit/chpst.c @@ -282,13 +282,13 @@ static void slimit(void) } /* argv[0] */ -static void setuidgid(int, char **) ATTRIBUTE_NORETURN; -static void envuidgid(int, char **) ATTRIBUTE_NORETURN; -static void envdir(int, char **) ATTRIBUTE_NORETURN; -static void softlimit(int, char **) ATTRIBUTE_NORETURN; +static void setuidgid(int, char **) NORETURN; +static void envuidgid(int, char **) NORETURN; +static void envdir(int, char **) NORETURN; +static void softlimit(int, char **) NORETURN; int chpst_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int chpst_main(int argc ATTRIBUTE_UNUSED, char **argv) +int chpst_main(int argc UNUSED_PARAM, char **argv) { INIT_G(); @@ -347,7 +347,7 @@ int chpst_main(int argc ATTRIBUTE_UNUSED, char **argv) bb_perror_msg_and_die("exec %s", argv[0]); } -static void setuidgid(int argc ATTRIBUTE_UNUSED, char **argv) +static void setuidgid(int argc UNUSED_PARAM, char **argv) { const char *account; @@ -359,7 +359,7 @@ static void setuidgid(int argc ATTRIBUTE_UNUSED, char **argv) bb_perror_msg_and_die("exec %s", argv[0]); } -static void envuidgid(int argc ATTRIBUTE_UNUSED, char **argv) +static void envuidgid(int argc UNUSED_PARAM, char **argv) { const char *account; @@ -371,7 +371,7 @@ static void envuidgid(int argc ATTRIBUTE_UNUSED, char **argv) bb_perror_msg_and_die("exec %s", argv[0]); } -static void envdir(int argc ATTRIBUTE_UNUSED, char **argv) +static void envdir(int argc UNUSED_PARAM, char **argv) { const char *dir; @@ -383,7 +383,7 @@ static void envdir(int argc ATTRIBUTE_UNUSED, char **argv) bb_perror_msg_and_die("exec %s", argv[0]); } -static void softlimit(int argc ATTRIBUTE_UNUSED, char **argv) +static void softlimit(int argc UNUSED_PARAM, char **argv) { char *a,*c,*d,*f,*l,*m,*o,*p,*r,*s,*t; getopt32(argv, "+a:c:d:f:l:m:o:p:r:s:t:", |