diff --git a/edef.h b/edef.h index 10cc895..0615594 100644 --- a/edef.h +++ b/edef.h @@ -22,7 +22,6 @@ typedef int (*fn_t)(int, int); /* Initialized global external declarations. */ extern int fillcol; /* Fill column */ -extern char *execstr; /* pointer to string to execute */ extern int eolexist; /* does clear to EOL exist? */ diff --git a/exec.c b/exec.c index ad81f9b..662a2a6 100644 --- a/exec.c +++ b/exec.c @@ -24,6 +24,10 @@ #include "line.h" #include "window.h" + +char *execstr = NULL ; /* pointer to string to execute */ + + /* Directive definitions */ #define DIF 0 diff --git a/exec.h b/exec.h index 56939b4..cd0fb8a 100644 --- a/exec.h +++ b/exec.h @@ -8,6 +8,10 @@ int storeproc( int f, int n) ; int execproc( int f, int n) ; #endif + +extern char *execstr ; /* pointer to string to execute */ + + int namedcmd( int f, int n) ; int execcmd( int f, int n) ; int docmd( char *cline) ; diff --git a/globals.c b/globals.c index c54cdb6..1823192 100644 --- a/globals.c +++ b/globals.c @@ -7,7 +7,6 @@ /* initialized global definitions */ int fillcol = 72; /* Current fill column */ -char *execstr = NULL; /* pointer to string to execute */ int eolexist = TRUE; /* does clear to EOL exist */