K&R header for help.c
This commit is contained in:
parent
5fa1d4d9f2
commit
c7673a6ea2
@ -42,6 +42,7 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "build.h"
|
#include "build.h"
|
||||||
#include "colors.h"
|
#include "colors.h"
|
||||||
|
#include "help.h"
|
||||||
|
|
||||||
#ifdef CCS
|
#ifdef CCS
|
||||||
# include "sgs.h" /* ESG_PKG and ESG_REL */
|
# include "sgs.h" /* ESG_PKG and ESG_REL */
|
||||||
|
@ -203,8 +203,6 @@ char *scanpast(char c);
|
|||||||
char **parse_options(const int argc, const char * const * const argv);
|
char **parse_options(const int argc, const char * const * const argv);
|
||||||
void readenv(bool preserve_database);
|
void readenv(bool preserve_database);
|
||||||
|
|
||||||
void longusage(void);
|
|
||||||
void usage(void);
|
|
||||||
extern bool remove_symfile_onexit;
|
extern bool remove_symfile_onexit;
|
||||||
extern bool onesearch; /* one search only in line mode */
|
extern bool onesearch; /* one search only in line mode */
|
||||||
extern char *reflines; /* symbol reference lines file */
|
extern char *reflines; /* symbol reference lines file */
|
||||||
|
8
source/help.h
Normal file
8
source/help.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#ifndef HELP_H
|
||||||
|
#define HELP_H
|
||||||
|
|
||||||
|
const char *help(void);
|
||||||
|
void longusage(void);
|
||||||
|
void usage(void);
|
||||||
|
|
||||||
|
#endif
|
@ -4,6 +4,7 @@
|
|||||||
#include "vpath.h"
|
#include "vpath.h"
|
||||||
#include "version.inc"
|
#include "version.inc"
|
||||||
#include "auto_vararg.h"
|
#include "auto_vararg.h"
|
||||||
|
#include "help.h"
|
||||||
|
|
||||||
#include <stdlib.h> /* atoi */
|
#include <stdlib.h> /* atoi */
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user