*: rename ATTRIBUTE_XXX to just XXX.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
int mktemp_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int mktemp_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int mktemp_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
const char *path;
|
||||
char *chp;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* Activity is indicated by a '.' to stderr
|
||||
*/
|
||||
int pipe_progress_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int pipe_progress_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
|
||||
int pipe_progress_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
|
||||
{
|
||||
RESERVE_CONFIG_BUFFER(buf, PIPE_PROGRESS_SIZE);
|
||||
time_t t = time(NULL);
|
||||
|
||||
@@ -77,7 +77,7 @@ static int bb_alphasort(const void *p1, const void *p2)
|
||||
return (option_mask32 & OPT_r) ? -r : r;
|
||||
}
|
||||
|
||||
static int FAST_FUNC act(const char *file, struct stat *statbuf, void *args ATTRIBUTE_UNUSED, int depth)
|
||||
static int FAST_FUNC act(const char *file, struct stat *statbuf, void *args UNUSED_PARAM, int depth)
|
||||
{
|
||||
if (depth == 1)
|
||||
return TRUE;
|
||||
@@ -111,7 +111,7 @@ static const char runparts_longopts[] ALIGN1 =
|
||||
#endif
|
||||
|
||||
int run_parts_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int run_parts_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int run_parts_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
const char *umask_p = "22";
|
||||
llist_t *arg_list = NULL;
|
||||
|
||||
@@ -320,7 +320,7 @@ static const char start_stop_daemon_longopts[] ALIGN1 =
|
||||
#endif
|
||||
|
||||
int start_stop_daemon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int start_stop_daemon_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
unsigned opt;
|
||||
char *signame;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int which_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int which_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
USE_DESKTOP(int opt;)
|
||||
int status = EXIT_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user