diff --git a/edef.h b/edef.h index a70f71c..a8df99c 100644 --- a/edef.h +++ b/edef.h @@ -115,8 +115,6 @@ extern char *patmatch; extern struct line *matchline; extern int matchoff; -extern char *dname[]; /* Directive name table. */ - #if DEBUGM /* Vars needed for macro debugging output. */ extern char outline[]; /* Global string to hold debug line text. */ diff --git a/exec.c b/exec.c index e761206..d0cf737 100644 --- a/exec.c +++ b/exec.c @@ -22,6 +22,16 @@ #include "input.h" #include "line.h" +/* directive name table: + This holds the names of all the directives.... */ + +static const char *dname[] = { + "if", "else", "endif", + "goto", "return", "endm", + "while", "endwhile", "break", + "force" +}; + /* * Execute a named command even if it is not bound. */ diff --git a/globals.c b/globals.c index c2d4c37..c9f684a 100644 --- a/globals.c +++ b/globals.c @@ -119,16 +119,6 @@ char *patmatch = NULL; struct line *matchline = NULL; int matchoff = 0; -/* directive name table: - This holds the names of all the directives.... */ - -char *dname[] = { - "if", "else", "endif", - "goto", "return", "endm", - "while", "endwhile", "break", - "force" -}; - #if DEBUGM /* vars needed for macro debugging output */ char outline[NSTRING]; /* global string to hold debug line text */