summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Tokarev2012-07-24 15:56:37 +0200
committerDenys Vlasenko2012-07-24 15:56:37 +0200
commit32f774cd344cf12336c22b0947f102274a99ee31 (patch)
tree086312d73d2bb0df06a292395fdb4839186954a5 /include
parente565383fd53b999ce868081d077316e7ebbd1118 (diff)
downloadbusybox-32f774cd344cf12336c22b0947f102274a99ee31.zip
busybox-32f774cd344cf12336c22b0947f102274a99ee31.tar.gz
*: declare strings with ALIGN1, as appropriate
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/busybox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 315ef8f..b1e31e5 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -13,10 +13,10 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
/* Defined in appletlib.c (by including generated applet_tables.h) */
/* Keep in sync with applets/applet_tables.c! */
-extern const char applet_names[];
+extern const char applet_names[] ALIGN1;
extern int (*const applet_main[])(int argc, char **argv);
extern const uint16_t applet_nameofs[];
-extern const uint8_t applet_install_loc[];
+extern const uint8_t applet_install_loc[] ALIGN1;
#if ENABLE_FEATURE_SUID || ENABLE_FEATURE_PREFER_APPLETS
# define APPLET_NAME(i) (applet_names + (applet_nameofs[i] & 0x0fff))