aboutsummaryrefslogtreecommitdiff
path: root/libbb/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/dump.c')
-rw-r--r--libbb/dump.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbb/dump.c b/libbb/dump.c
index 5ddbbaaf6..0d1bb18f2 100644
--- a/libbb/dump.c
+++ b/libbb/dump.c
@@ -26,12 +26,12 @@ static int exitval; /* final exit value */
26int bb_dump_blocksize; /* data block size */ 26int bb_dump_blocksize; /* data block size */
27int bb_dump_length = -1; /* max bytes to read */ 27int bb_dump_length = -1; /* max bytes to read */
28 28
29static const char index_str[] = ".#-+ 0123456789"; 29static const char index_str[] ALIGN1 = ".#-+ 0123456789";
30 30
31static const char size_conv_str[] = 31static const char size_conv_str[] ALIGN1 =
32"\x1\x4\x4\x4\x4\x4\x4\x8\x8\x8\x8\010cdiouxXeEfgG"; 32"\x1\x4\x4\x4\x4\x4\x4\x8\x8\x8\x8\010cdiouxXeEfgG";
33 33
34static const char lcc[] = "diouxX"; 34static const char lcc[] ALIGN1 = "diouxX";
35 35
36int bb_dump_size(FS * fs) 36int bb_dump_size(FS * fs)
37{ 37{
@@ -440,7 +440,7 @@ static void bpad(PR * pr)
440 while ((*p2++ = *p1++) != 0); 440 while ((*p2++ = *p1++) != 0);
441} 441}
442 442
443static const char conv_str[] = 443static const char conv_str[] ALIGN1 =
444 "\0\\0\0" 444 "\0\\0\0"
445 "\007\\a\0" /* \a */ 445 "\007\\a\0" /* \a */
446 "\b\\b\0" 446 "\b\\b\0"
@@ -479,7 +479,7 @@ static void conv_c(PR * pr, unsigned char * p)
479 479
480static void conv_u(PR * pr, unsigned char * p) 480static void conv_u(PR * pr, unsigned char * p)
481{ 481{
482 static const char list[] = 482 static const char list[] ALIGN1 =
483 "nul\0soh\0stx\0etx\0eot\0enq\0ack\0bel\0" 483 "nul\0soh\0stx\0etx\0eot\0enq\0ack\0bel\0"
484 "bs\0_ht\0_lf\0_vt\0_ff\0_cr\0_so\0_si\0_" 484 "bs\0_ht\0_lf\0_vt\0_ff\0_cr\0_so\0_si\0_"
485 "dle\0dcl\0dc2\0dc3\0dc4\0nak\0syn\0etb\0" 485 "dle\0dcl\0dc2\0dc3\0dc4\0nak\0syn\0etb\0"