aboutsummaryrefslogtreecommitdiff
path: root/debianutils
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 /debianutils
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 'debianutils')
-rw-r--r--debianutils/mktemp.c2
-rw-r--r--debianutils/pipe_progress.c2
-rw-r--r--debianutils/run_parts.c4
-rw-r--r--debianutils/start_stop_daemon.c2
-rw-r--r--debianutils/which.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/debianutils/mktemp.c b/debianutils/mktemp.c
index c48b6e2d5..0dcb1e826 100644
--- a/debianutils/mktemp.c
+++ b/debianutils/mktemp.c
@@ -35,7 +35,7 @@
35#include "libbb.h" 35#include "libbb.h"
36 36
37int mktemp_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 37int mktemp_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
38int mktemp_main(int argc ATTRIBUTE_UNUSED, char **argv) 38int mktemp_main(int argc UNUSED_PARAM, char **argv)
39{ 39{
40 const char *path; 40 const char *path;
41 char *chp; 41 char *chp;
diff --git a/debianutils/pipe_progress.c b/debianutils/pipe_progress.c
index cbdd38ff4..fa98e8b38 100644
--- a/debianutils/pipe_progress.c
+++ b/debianutils/pipe_progress.c
@@ -15,7 +15,7 @@
15 * Activity is indicated by a '.' to stderr 15 * Activity is indicated by a '.' to stderr
16 */ 16 */
17int pipe_progress_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 17int pipe_progress_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
18int pipe_progress_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) 18int pipe_progress_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
19{ 19{
20 RESERVE_CONFIG_BUFFER(buf, PIPE_PROGRESS_SIZE); 20 RESERVE_CONFIG_BUFFER(buf, PIPE_PROGRESS_SIZE);
21 time_t t = time(NULL); 21 time_t t = time(NULL);
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c
index bf278cc65..953ff6732 100644
--- a/debianutils/run_parts.c
+++ b/debianutils/run_parts.c
@@ -77,7 +77,7 @@ static int bb_alphasort(const void *p1, const void *p2)
77 return (option_mask32 & OPT_r) ? -r : r; 77 return (option_mask32 & OPT_r) ? -r : r;
78} 78}
79 79
80static int FAST_FUNC act(const char *file, struct stat *statbuf, void *args ATTRIBUTE_UNUSED, int depth) 80static int FAST_FUNC act(const char *file, struct stat *statbuf, void *args UNUSED_PARAM, int depth)
81{ 81{
82 if (depth == 1) 82 if (depth == 1)
83 return TRUE; 83 return TRUE;
@@ -111,7 +111,7 @@ static const char runparts_longopts[] ALIGN1 =
111#endif 111#endif
112 112
113int run_parts_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 113int run_parts_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
114int run_parts_main(int argc ATTRIBUTE_UNUSED, char **argv) 114int run_parts_main(int argc UNUSED_PARAM, char **argv)
115{ 115{
116 const char *umask_p = "22"; 116 const char *umask_p = "22";
117 llist_t *arg_list = NULL; 117 llist_t *arg_list = NULL;
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index 459fb77e0..91f51a3c6 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -320,7 +320,7 @@ static const char start_stop_daemon_longopts[] ALIGN1 =
320#endif 320#endif
321 321
322int start_stop_daemon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 322int start_stop_daemon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
323int start_stop_daemon_main(int argc ATTRIBUTE_UNUSED, char **argv) 323int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv)
324{ 324{
325 unsigned opt; 325 unsigned opt;
326 char *signame; 326 char *signame;
diff --git a/debianutils/which.c b/debianutils/which.c
index 41a864cfa..748e6dc25 100644
--- a/debianutils/which.c
+++ b/debianutils/which.c
@@ -13,7 +13,7 @@
13#include "libbb.h" 13#include "libbb.h"
14 14
15int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 15int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
16int which_main(int argc ATTRIBUTE_UNUSED, char **argv) 16int which_main(int argc UNUSED_PARAM, char **argv)
17{ 17{
18 USE_DESKTOP(int opt;) 18 USE_DESKTOP(int opt;)
19 int status = EXIT_SUCCESS; 19 int status = EXIT_SUCCESS;