HelpStrings was only defined when included in help.c (with the
`#ifdef HELP_C` guard), and it's only used there so move it to where it
belongs and make it static.
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define HELP_C
-
#include "config.h"
#include <stddef.h>
#include <ctype.h>
#include "pager.h"
#include "protos.h"
+static const char *HelpStrings[] = {
+#define DEFINE_HELP_MESSAGE(opcode, help_string) help_string,
+ OPS(DEFINE_HELP_MESSAGE)
+#undef DEFINE_HELP_MESSAGE
+ NULL,
+};
+
static const struct Binding *help_lookup_function(int op, int menu)
{
int i;
OP_MAX,
};
-#ifdef HELP_C
-const char *HelpStrings[] = {
-#define DEFINE_HELP_MESSAGE(opcode, help_string) help_string,
- OPS(DEFINE_HELP_MESSAGE)
-#undef DEFINE_HELP_MESSAGE
- NULL,
-};
-#endif
-
#endif /* _MUTT_OPCODES_H */