diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-30 18:08:03 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-30 18:08:03 +0000 |
commit | 6f343944548c2e41fde4a376e805bf322a8e01c9 (patch) | |
tree | 8f5b3ccff395779f19d57ce35015ce90cc8dd6f7 /libbb/messages.c | |
parent | 65504ac12cdc4eff0a98fd50fff1a019fbb77f1b (diff) | |
download | busybox-w32-6f343944548c2e41fde4a376e805bf322a8e01c9.tar.gz busybox-w32-6f343944548c2e41fde4a376e805bf322a8e01c9.tar.bz2 busybox-w32-6f343944548c2e41fde4a376e805bf322a8e01c9.zip |
These messages can be .rodata, so make them even more const.
-Erik
Diffstat (limited to 'libbb/messages.c')
-rw-r--r-- | libbb/messages.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libbb/messages.c b/libbb/messages.c index bdf931ba6..99c2bc9d5 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -22,40 +22,40 @@ | |||
22 | #include "libbb.h" | 22 | #include "libbb.h" |
23 | 23 | ||
24 | #ifdef L_full_version | 24 | #ifdef L_full_version |
25 | const char *full_version = BB_BANNER " multi-call binary"; | 25 | const char * const full_version = BB_BANNER " multi-call binary"; |
26 | #endif | 26 | #endif |
27 | #ifdef L_name_too_long | 27 | #ifdef L_name_too_long |
28 | const char *name_too_long = "file name too long"; | 28 | const char * const name_too_long = "file name too long"; |
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | #ifdef L_omitting_directory | 31 | #ifdef L_omitting_directory |
32 | const char *omitting_directory = "%s: omitting directory"; | 32 | const char * const omitting_directory = "%s: omitting directory"; |
33 | #endif | 33 | #endif |
34 | #ifdef L_not_a_directory | 34 | #ifdef L_not_a_directory |
35 | const char *not_a_directory = "%s: not a directory"; | 35 | const char * const not_a_directory = "%s: not a directory"; |
36 | #endif | 36 | #endif |
37 | #ifdef L_memory_exhausted | 37 | #ifdef L_memory_exhausted |
38 | const char *memory_exhausted = "memory exhausted"; | 38 | const char * const memory_exhausted = "memory exhausted"; |
39 | #endif | 39 | #endif |
40 | #ifdef L_invalid_date | 40 | #ifdef L_invalid_date |
41 | const char *invalid_date = "invalid date `%s'"; | 41 | const char * const invalid_date = "invalid date `%s'"; |
42 | #endif | 42 | #endif |
43 | #ifdef L_invalid_option | 43 | #ifdef L_invalid_option |
44 | const char *invalid_option = "invalid option -- %c"; | 44 | const char * const invalid_option = "invalid option -- %c"; |
45 | #endif | 45 | #endif |
46 | #ifdef L_io_error | 46 | #ifdef L_io_error |
47 | const char *io_error = "%s: input/output error -- %s"; | 47 | const char * const io_error = "%s: input/output error -- %s"; |
48 | #endif | 48 | #endif |
49 | #ifdef L_dash_dash_help | 49 | #ifdef L_dash_dash_help |
50 | const char *dash_dash_help = "--help"; | 50 | const char * const dash_dash_help = "--help"; |
51 | #endif | 51 | #endif |
52 | #ifdef L_write_error | 52 | #ifdef L_write_error |
53 | const char *write_error = "Write Error"; | 53 | const char * const write_error = "Write Error"; |
54 | #endif | 54 | #endif |
55 | #ifdef L_too_few_args | 55 | #ifdef L_too_few_args |
56 | const char *too_few_args = "too few arguments"; | 56 | const char * const too_few_args = "too few arguments"; |
57 | #endif | 57 | #endif |
58 | #ifdef L_name_longer_than_foo | 58 | #ifdef L_name_longer_than_foo |
59 | const char *name_longer_than_foo = "Names longer than %d chars not supported."; | 59 | const char * const name_longer_than_foo = "Names longer than %d chars not supported."; |
60 | #endif | 60 | #endif |
61 | 61 | ||