*: rename ATTRIBUTE_XXX to just XXX.
This commit is contained in:
@@ -738,7 +738,7 @@ void FAST_FUNC run_applet_and_exit(const char *name, char **argv)
|
||||
#if ENABLE_BUILD_LIBBUSYBOX
|
||||
int lbb_main(char **argv)
|
||||
#else
|
||||
int main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
int main(int argc UNUSED_PARAM, char **argv)
|
||||
#endif
|
||||
{
|
||||
#if defined(SINGLE_APPLET_MAIN)
|
||||
|
@@ -13,7 +13,7 @@
|
||||
#include "libbb.h"
|
||||
|
||||
/* do nothing signal handler */
|
||||
static void askpass_timeout(int ATTRIBUTE_UNUSED ignore)
|
||||
static void askpass_timeout(int UNUSED_PARAM ignore)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -70,4 +70,4 @@ const char bb_path_wtmp_file[] ALIGN1 =
|
||||
/* We use it for "global" data via *(struct global*)&bb_common_bufsiz1.
|
||||
* Since gcc insists on aligning struct global's members, it would be a pity
|
||||
* (and an alignment fault on some CPUs) to mess it up. */
|
||||
char bb_common_bufsiz1[COMMON_BUFSIZE] __attribute__(( aligned(sizeof(long long)) ));
|
||||
char bb_common_bufsiz1[COMMON_BUFSIZE] ALIGNED(sizeof(long long));
|
||||
|
@@ -22,10 +22,10 @@
|
||||
* is so stinking huge.
|
||||
*/
|
||||
|
||||
static int FAST_FUNC true_action(const char *fileName ATTRIBUTE_UNUSED,
|
||||
struct stat *statbuf ATTRIBUTE_UNUSED,
|
||||
void* userData ATTRIBUTE_UNUSED,
|
||||
int depth ATTRIBUTE_UNUSED)
|
||||
static int FAST_FUNC true_action(const char *fileName UNUSED_PARAM,
|
||||
struct stat *statbuf UNUSED_PARAM,
|
||||
void* userData UNUSED_PARAM,
|
||||
int depth UNUSED_PARAM)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user