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 /libbb | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) | |
download | busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.bz2 busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip |
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/appletlib.c | 2 | ||||
-rw-r--r-- | libbb/bb_askpass.c | 2 | ||||
-rw-r--r-- | libbb/messages.c | 2 | ||||
-rw-r--r-- | libbb/recursive_action.c | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 0017a4bef..eb98f1cd2 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -738,7 +738,7 @@ void FAST_FUNC run_applet_and_exit(const char *name, char **argv) | |||
738 | #if ENABLE_BUILD_LIBBUSYBOX | 738 | #if ENABLE_BUILD_LIBBUSYBOX |
739 | int lbb_main(char **argv) | 739 | int lbb_main(char **argv) |
740 | #else | 740 | #else |
741 | int main(int argc ATTRIBUTE_UNUSED, char **argv) | 741 | int main(int argc UNUSED_PARAM, char **argv) |
742 | #endif | 742 | #endif |
743 | { | 743 | { |
744 | #if defined(SINGLE_APPLET_MAIN) | 744 | #if defined(SINGLE_APPLET_MAIN) |
diff --git a/libbb/bb_askpass.c b/libbb/bb_askpass.c index ca18aded9..fba82a07b 100644 --- a/libbb/bb_askpass.c +++ b/libbb/bb_askpass.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include "libbb.h" | 13 | #include "libbb.h" |
14 | 14 | ||
15 | /* do nothing signal handler */ | 15 | /* do nothing signal handler */ |
16 | static void askpass_timeout(int ATTRIBUTE_UNUSED ignore) | 16 | static void askpass_timeout(int UNUSED_PARAM ignore) |
17 | { | 17 | { |
18 | } | 18 | } |
19 | 19 | ||
diff --git a/libbb/messages.c b/libbb/messages.c index 74a070c49..90090283c 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -70,4 +70,4 @@ const char bb_path_wtmp_file[] ALIGN1 = | |||
70 | /* We use it for "global" data via *(struct global*)&bb_common_bufsiz1. | 70 | /* We use it for "global" data via *(struct global*)&bb_common_bufsiz1. |
71 | * Since gcc insists on aligning struct global's members, it would be a pity | 71 | * Since gcc insists on aligning struct global's members, it would be a pity |
72 | * (and an alignment fault on some CPUs) to mess it up. */ | 72 | * (and an alignment fault on some CPUs) to mess it up. */ |
73 | char bb_common_bufsiz1[COMMON_BUFSIZE] __attribute__(( aligned(sizeof(long long)) )); | 73 | char bb_common_bufsiz1[COMMON_BUFSIZE] ALIGNED(sizeof(long long)); |
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c index dbc31c3b6..07bd0abfd 100644 --- a/libbb/recursive_action.c +++ b/libbb/recursive_action.c | |||
@@ -22,10 +22,10 @@ | |||
22 | * is so stinking huge. | 22 | * is so stinking huge. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | static int FAST_FUNC true_action(const char *fileName ATTRIBUTE_UNUSED, | 25 | static int FAST_FUNC true_action(const char *fileName UNUSED_PARAM, |
26 | struct stat *statbuf ATTRIBUTE_UNUSED, | 26 | struct stat *statbuf UNUSED_PARAM, |
27 | void* userData ATTRIBUTE_UNUSED, | 27 | void* userData UNUSED_PARAM, |
28 | int depth ATTRIBUTE_UNUSED) | 28 | int depth UNUSED_PARAM) |
29 | { | 29 | { |
30 | return TRUE; | 30 | return TRUE; |
31 | } | 31 | } |