1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-17 23:06:25 -05:00

Move execstr from globals to exec.

This commit is contained in:
Renaud 2013-10-08 16:56:47 +08:00
parent 0a998c1cf9
commit 83e10e36d5
4 changed files with 8 additions and 2 deletions

1
edef.h
View File

@ -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? */

4
exec.c
View File

@ -24,6 +24,10 @@
#include "line.h"
#include "window.h"
char *execstr = NULL ; /* pointer to string to execute */
/* Directive definitions */
#define DIF 0

4
exec.h
View File

@ -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) ;

View File

@ -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 */