mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 07:16:23 -05:00
Limit the scope of docmd.
This commit is contained in:
parent
cc06049046
commit
45981e8793
5
exec.c
5
exec.c
@ -101,6 +101,8 @@ int namedcmd(int f, int n)
|
||||
return kfunc(f, n);
|
||||
}
|
||||
|
||||
static int docmd( char *cline) ;
|
||||
|
||||
/*
|
||||
* execcmd:
|
||||
* Execute a command line command to be typed in
|
||||
@ -134,8 +136,7 @@ int execcmd(int f, int n)
|
||||
*
|
||||
* char *cline; command line to execute
|
||||
*/
|
||||
int docmd(char *cline)
|
||||
{
|
||||
static int docmd( char *cline) {
|
||||
int f; /* default argument flag */
|
||||
int n; /* numeric repeat value */
|
||||
fn_t fnc; /* function to execute */
|
||||
|
1
exec.h
1
exec.h
@ -19,7 +19,6 @@ extern boolean clexec ; /* command line execution flag */
|
||||
|
||||
int namedcmd( int f, int n) ;
|
||||
int execcmd( int f, int n) ;
|
||||
int docmd( char *cline) ;
|
||||
char *token( char *src, char *tok, int size) ;
|
||||
int macarg( char *tok) ;
|
||||
int nextarg( const char *prompt, char *buffer, int size, int terminator) ;
|
||||
|
Loading…
Reference in New Issue
Block a user