*: rename ATTRIBUTE_XXX to just XXX.
This commit is contained in:
@ -40,7 +40,7 @@ int bb_cat(char **argv)
|
||||
}
|
||||
|
||||
int cat_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int cat_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int cat_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
getopt32(argv, "u");
|
||||
argv += optind;
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
int catv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int catv_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int catv_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
int retval = EXIT_SUCCESS;
|
||||
int fd;
|
||||
|
@ -68,7 +68,7 @@ static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf, void
|
||||
}
|
||||
|
||||
int chmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int chmod_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int chmod_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
int retval = EXIT_SUCCESS;
|
||||
char *arg, **argp;
|
||||
|
@ -42,7 +42,7 @@ typedef int (*chown_fptr)(const char *, uid_t, gid_t);
|
||||
static struct bb_uidgid_t ugid = { -1, -1 };
|
||||
|
||||
static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf,
|
||||
void *cf, int depth ATTRIBUTE_UNUSED)
|
||||
void *cf, int depth UNUSED_PARAM)
|
||||
{
|
||||
uid_t u = (ugid.uid == (uid_t)-1) ? statbuf->st_uid : ugid.uid;
|
||||
gid_t g = (ugid.gid == (gid_t)-1) ? statbuf->st_gid : ugid.gid;
|
||||
@ -61,7 +61,7 @@ static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
int chown_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int chown_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
int retval = EXIT_SUCCESS;
|
||||
int flags;
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
int cksum_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int cksum_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int cksum_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
uint32_t *crc32_table = crc32_filltable(NULL, 1);
|
||||
uint32_t crc;
|
||||
|
@ -36,7 +36,7 @@ static void writeline(char *line, int class, int flags)
|
||||
}
|
||||
|
||||
int comm_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int comm_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int comm_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
#define LINE_LEN 100
|
||||
#define BB_EOF_0 0x1
|
||||
|
@ -162,7 +162,7 @@ static void cut_file(FILE *file, char delim)
|
||||
}
|
||||
|
||||
int cut_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int cut_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int cut_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
char delim = '\t'; /* delimiter, default is tab */
|
||||
char *sopt, *ltok;
|
||||
|
@ -39,7 +39,7 @@ static void maybe_set_utc(int opt)
|
||||
}
|
||||
|
||||
int date_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int date_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int date_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
struct tm tm_time;
|
||||
time_t tm;
|
||||
|
@ -41,7 +41,7 @@ struct globals {
|
||||
#define INIT_G() memset(&G, 0, sizeof(G))
|
||||
|
||||
|
||||
static void dd_output_status(int ATTRIBUTE_UNUSED cur_signal)
|
||||
static void dd_output_status(int UNUSED_PARAM cur_signal)
|
||||
{
|
||||
/* Deliberately using %u, not %d */
|
||||
fprintf(stderr, "%"OFF_FMT"u+%"OFF_FMT"u records in\n"
|
||||
@ -79,7 +79,7 @@ static bool write_and_stats(const void *buf, size_t len, size_t obs,
|
||||
#endif
|
||||
|
||||
int dd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int dd_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int dd_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
enum {
|
||||
/* Must be in the same order as OP_conv_XXX! */
|
||||
|
@ -141,7 +141,7 @@ static unsigned long du(const char *filename)
|
||||
}
|
||||
|
||||
int du_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int du_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int du_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
unsigned long total;
|
||||
int slink_depth_save;
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
/* NB: can be used by shell even if not enabled as applet */
|
||||
|
||||
int echo_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int echo_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
const char *arg;
|
||||
#if !ENABLE_FEATURE_FANCY_ECHO
|
||||
|
@ -39,7 +39,7 @@ static const char env_longopts[] ALIGN1 =
|
||||
#endif
|
||||
|
||||
int env_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int env_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int env_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
/* cleanenv was static - why? */
|
||||
char *cleanenv[1];
|
||||
|
@ -126,7 +126,7 @@ static void unexpand(FILE *file, unsigned int tab_size, unsigned opt)
|
||||
#endif
|
||||
|
||||
int expand_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int expand_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int expand_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
/* Default 8 spaces for 1 tab */
|
||||
const char *opt_t = "8";
|
||||
|
@ -15,7 +15,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int false_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int false_main(int ATTRIBUTE_UNUSED argc, char ATTRIBUTE_UNUSED **argv)
|
||||
int false_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
|
||||
{
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int hostid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int hostid_main(int argc, char ATTRIBUTE_UNUSED **argv)
|
||||
int hostid_main(int argc, char **argv UNUSED_PARAM)
|
||||
{
|
||||
if (argc > 1) {
|
||||
bb_show_usage();
|
||||
|
@ -37,7 +37,7 @@ static int printf_full(unsigned int id, const char *arg, const char prefix)
|
||||
}
|
||||
|
||||
int id_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int id_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int id_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
struct passwd *p;
|
||||
uid_t uid;
|
||||
|
@ -25,7 +25,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int logname_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int logname_main(int argc, char ATTRIBUTE_UNUSED **argv)
|
||||
int logname_main(int argc, char **argv UNUSED_PARAM)
|
||||
{
|
||||
char buf[128];
|
||||
|
||||
|
@ -825,7 +825,7 @@ static const char ls_color_opt[] ALIGN1 =
|
||||
|
||||
|
||||
int ls_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int ls_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int ls_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
struct dnode **dnd;
|
||||
struct dnode **dnf;
|
||||
|
@ -75,7 +75,7 @@ static uint8_t *hash_file(const char *filename, hash_algo_t hash_algo)
|
||||
}
|
||||
|
||||
int md5_sha1_sum_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int md5_sha1_sum_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int md5_sha1_sum_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
int return_value = EXIT_SUCCESS;
|
||||
uint8_t *hash_value;
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "libcoreutils/coreutils.h"
|
||||
|
||||
int mkfifo_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int mkfifo_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int mkfifo_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
mode_t mode;
|
||||
int retval = EXIT_SUCCESS;
|
||||
|
@ -364,7 +364,7 @@ print_long_double(size_t n_bytes, const char *block, const char *fmt_string)
|
||||
|
||||
static void
|
||||
print_named_ascii(size_t n_bytes, const char *block,
|
||||
const char *unused_fmt_string ATTRIBUTE_UNUSED)
|
||||
const char *unused_fmt_string UNUSED_PARAM)
|
||||
{
|
||||
/* Names for some non-printing characters. */
|
||||
static const char charname[33][3] ALIGN1 = {
|
||||
@ -404,7 +404,7 @@ print_named_ascii(size_t n_bytes, const char *block,
|
||||
|
||||
static void
|
||||
print_ascii(size_t n_bytes, const char *block,
|
||||
const char *unused_fmt_string ATTRIBUTE_UNUSED)
|
||||
const char *unused_fmt_string UNUSED_PARAM)
|
||||
{
|
||||
// buf[N] pos: 01234 56789
|
||||
char buf[12] = " x\0 0xx\0";
|
||||
@ -814,7 +814,7 @@ skip(off_t n_skip)
|
||||
typedef void FN_format_address(off_t address, char c);
|
||||
|
||||
static void
|
||||
format_address_none(off_t address ATTRIBUTE_UNUSED, char c ATTRIBUTE_UNUSED)
|
||||
format_address_none(off_t address UNUSED_PARAM, char c UNUSED_PARAM)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
int printenv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int printenv_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int printenv_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
/* no variables specified, show whole env */
|
||||
if (!argv[1]) {
|
||||
|
@ -279,7 +279,7 @@ static char **print_formatted(char *f, char **argv)
|
||||
return argv;
|
||||
}
|
||||
|
||||
int printf_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int printf_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
char *format;
|
||||
char **argv2;
|
||||
|
@ -12,7 +12,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int pwd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int pwd_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
|
||||
int pwd_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
|
||||
{
|
||||
char *buf;
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
int readlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int readlink_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int readlink_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
char *buf;
|
||||
char *fname;
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
int realpath_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int realpath_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int realpath_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
int retval = EXIT_SUCCESS;
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int rm_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int rm_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int rm_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
int status = 0;
|
||||
int flags = 0;
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define IGNORE_NON_EMPTY 0x02
|
||||
|
||||
int rmdir_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int rmdir_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int rmdir_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
int status = EXIT_SUCCESS;
|
||||
int flags;
|
||||
|
@ -34,7 +34,7 @@ static const struct suffix_mult sfx[] = {
|
||||
#endif
|
||||
|
||||
int sleep_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int sleep_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int sleep_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
unsigned duration;
|
||||
|
||||
|
@ -276,7 +276,7 @@ static unsigned str2u(char **str)
|
||||
#endif
|
||||
|
||||
int sort_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int sort_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int sort_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
FILE *fp, *outfile = stdout;
|
||||
char *line, **lines = NULL;
|
||||
|
@ -56,7 +56,7 @@ enum { READ_BUFFER_SIZE = COMMON_BUFSIZE - 1 };
|
||||
#define SPLIT_OPT_a (1<<2)
|
||||
|
||||
int split_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int split_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int split_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
unsigned suffix_len = 2;
|
||||
char *pfx;
|
||||
|
@ -692,7 +692,7 @@ static void set_speed_or_die(enum speed_setting type, const char *const arg,
|
||||
}
|
||||
}
|
||||
|
||||
static ATTRIBUTE_NORETURN void perror_on_device_and_die(const char *fmt)
|
||||
static NORETURN void perror_on_device_and_die(const char *fmt)
|
||||
{
|
||||
bb_perror_msg_and_die(fmt, G.device_name);
|
||||
}
|
||||
@ -851,7 +851,7 @@ static int recover_mode(const char *arg, struct termios *mode)
|
||||
}
|
||||
|
||||
static void display_recoverable(const struct termios *mode,
|
||||
int ATTRIBUTE_UNUSED dummy)
|
||||
int UNUSED_PARAM dummy)
|
||||
{
|
||||
int i;
|
||||
printf("%lx:%lx:%lx:%lx",
|
||||
|
@ -71,7 +71,7 @@ static unsigned sum_file(const char *file, unsigned type)
|
||||
}
|
||||
|
||||
int sum_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int sum_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int sum_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
unsigned n;
|
||||
unsigned type = SUM_BSD;
|
||||
|
@ -14,7 +14,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int sync_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int sync_main(int argc, char **argv ATTRIBUTE_UNUSED)
|
||||
int sync_main(int argc, char **argv UNUSED_PARAM)
|
||||
{
|
||||
/* coreutils-6.9 compat */
|
||||
bb_warn_ignoring_args(argc - 1);
|
||||
|
@ -26,7 +26,7 @@ struct lstring {
|
||||
};
|
||||
|
||||
int tac_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int tac_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int tac_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
char **name;
|
||||
FILE *f;
|
||||
|
@ -187,7 +187,7 @@ extern struct test_statics *const test_ptr_to_statics;
|
||||
|
||||
static arith_t primary(enum token n);
|
||||
|
||||
static void syntax(const char *op, const char *msg) ATTRIBUTE_NORETURN;
|
||||
static void syntax(const char *op, const char *msg) NORETURN;
|
||||
static void syntax(const char *op, const char *msg)
|
||||
{
|
||||
if (op && *op) {
|
||||
|
@ -38,7 +38,7 @@
|
||||
*/
|
||||
|
||||
int touch_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int touch_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int touch_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
#if ENABLE_DESKTOP
|
||||
struct utimbuf timebuf;
|
||||
|
@ -174,7 +174,7 @@ static int complement(char *buffer, int buffer_len)
|
||||
}
|
||||
|
||||
int tr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int tr_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int tr_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
int output_length = 0, input_length;
|
||||
int i;
|
||||
|
@ -15,7 +15,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int true_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int true_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
|
||||
int true_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
|
||||
{
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
int tty_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int tty_main(int argc, char **argv SKIP_INCLUDE_SUSv2(ATTRIBUTE_UNUSED))
|
||||
int tty_main(int argc, char **argv SKIP_INCLUDE_SUSv2(UNUSED_PARAM))
|
||||
{
|
||||
const char *s;
|
||||
USE_INCLUDE_SUSv2(int silent;) /* Note: No longer relevant in SUSv3. */
|
||||
|
@ -49,7 +49,7 @@ static const unsigned short utsname_offset[] = {
|
||||
};
|
||||
|
||||
int uname_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int uname_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int uname_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
uname_info_t uname_info;
|
||||
#if defined(__sparc__) && defined(__linux__)
|
||||
|
@ -26,7 +26,7 @@ static FILE *xgetoptfile_uniq_s(char **argv, int read0write2)
|
||||
}
|
||||
|
||||
int uniq_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int uniq_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int uniq_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
FILE *in, *out;
|
||||
const char *s0, *e0, *s1, *e1, *input_filename;
|
||||
|
@ -14,7 +14,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int usleep_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int usleep_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int usleep_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
if (!argv[1]) {
|
||||
bb_show_usage();
|
||||
|
@ -136,7 +136,7 @@ static void read_base64(FILE *src_stream, FILE *dst_stream)
|
||||
}
|
||||
|
||||
int uudecode_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int uudecode_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int uudecode_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
FILE *src_stream;
|
||||
char *outname = NULL;
|
||||
|
@ -69,7 +69,7 @@ enum {
|
||||
};
|
||||
|
||||
int wc_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int wc_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int wc_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
FILE *fp;
|
||||
const char *s, *arg;
|
||||
|
@ -41,7 +41,7 @@ static void idle_string(char *str6, time_t t)
|
||||
}
|
||||
|
||||
int who_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int who_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int who_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
char str6[6];
|
||||
struct utmp *ut;
|
||||
|
@ -14,7 +14,7 @@
|
||||
/* This is a NOFORK applet. Be very careful! */
|
||||
|
||||
int whoami_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int whoami_main(int argc, char **argv ATTRIBUTE_UNUSED)
|
||||
int whoami_main(int argc, char **argv UNUSED_PARAM)
|
||||
{
|
||||
if (argc > 1)
|
||||
bb_show_usage();
|
||||
|
Reference in New Issue
Block a user