aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2023-11-14 14:44:37 -0600
committerRob Landley <rob@landley.net>2023-11-14 14:44:37 -0600
commit117c020ebcdb6bfcbfed48fa1a6754471a355ecb (patch)
treebee38cb5fd7ee6c1cf6c771efeb4df259c38e101
parent8aad4f42671818fd94b7f94d5f6ecead3d3b1e01 (diff)
downloadtoybox-117c020ebcdb6bfcbfed48fa1a6754471a355ecb.tar.gz
Make changes to help text size show up in bloatcheck.
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index c6f5a873..3d9f612e 100644
--- a/main.c
+++ b/main.c
@@ -72,7 +72,7 @@ static const int NEED_OPTIONS =
#endif
#include "generated/help.h"
-static char *help_data =
+static const char help_data[] =
#include "generated/newtoys.h"
;
@@ -88,7 +88,7 @@ void show_help(FILE *out, int flags)
: " (see https://landley.net/toybox)");
for (;;) {
- s = help_data;
+ s = (void *)help_data;
while (i--) s += strlen(s) + 1;
// If it's an alias, restart search for real name
if (*s != 255) break;