diff options
author | Bartosz Golaszewski | 2014-06-26 14:31:05 +0200 |
---|---|---|
committer | Denys Vlasenko | 2014-06-30 16:26:57 +0200 |
commit | bf0f2c7aa6ab5c33c05b4620a6bfa286bd38c9f9 (patch) | |
tree | cb71b1abc53092fb2ec99084d1e8946c8ada1639 /include/libbb.h | |
parent | d3633b7e9c5dae78343a8552f54b0efa61074380 (diff) | |
download | busybox-bf0f2c7aa6ab5c33c05b4620a6bfa286bd38c9f9.zip busybox-bf0f2c7aa6ab5c33c05b4620a6bfa286bd38c9f9.tar.gz |
Rename INIT_LAST to INIT_FUNC to avoid confusion
We don't have an INIT_FIRST, so let's rename INIT_LAST to INIT_FUNC
to imply that the function is called at program start-up.
Also: the priority argument for __attribute__((constructor)) isn't
used, so let's remove it.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index cede50c..858084b 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1960,7 +1960,7 @@ void bbunit_settestfailed(void); .name = #NAME, \ .testfunc = bbunit_##NAME##_test, \ }; \ - static void INIT_LAST bbunit_##NAME##_register(void) \ + static void INIT_FUNC bbunit_##NAME##_register(void) \ { \ bbunit_registertest(&bbunit_##NAME##_elem); \ } \ |