K&R header for help.c

This commit is contained in:
anon 2024-11-13 14:48:07 +01:00
parent 5fa1d4d9f2
commit c7673a6ea2
4 changed files with 10 additions and 2 deletions

View File

@ -42,6 +42,7 @@
#include "global.h"
#include "build.h"
#include "colors.h"
#include "help.h"
#ifdef CCS
# include "sgs.h" /* ESG_PKG and ESG_REL */

View File

@ -203,8 +203,6 @@ char *scanpast(char c);
char **parse_options(const int argc, const char * const * const argv);
void readenv(bool preserve_database);
void longusage(void);
void usage(void);
extern bool remove_symfile_onexit;
extern bool onesearch; /* one search only in line mode */
extern char *reflines; /* symbol reference lines file */

8
source/help.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef HELP_H
#define HELP_H
const char *help(void);
void longusage(void);
void usage(void);
#endif

View File

@ -4,6 +4,7 @@
#include "vpath.h"
#include "version.inc"
#include "auto_vararg.h"
#include "help.h"
#include <stdlib.h> /* atoi */
#include <getopt.h>