1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-20 16:22:38 -05:00

Limit scope of cbuf to exec.

This commit is contained in:
Renaud 2015-01-14 17:16:33 +08:00
parent 84919039a5
commit 259de639e4
2 changed files with 2 additions and 2 deletions

2
exec.c
View File

@ -1001,7 +1001,7 @@ int dofile(char *fname)
* int f, n; default flag and numeric arg * int f, n; default flag and numeric arg
* int bufnum; number of buffer to execute * int bufnum; number of buffer to execute
*/ */
int cbuf(int f, int n, int bufnum) static int cbuf(int f, int n, int bufnum)
{ {
struct buffer *bp; /* ptr to buffer to execute */ struct buffer *bp; /* ptr to buffer to execute */
int status; /* status return */ int status; /* status return */

2
exec.h
View File

@ -26,7 +26,7 @@ int storemac( int f, int n) ;
int execbuf( int f, int n) ; int execbuf( int f, int n) ;
int execfile( int f, int n) ; int execfile( int f, int n) ;
int dofile( char *fname) ; int dofile( char *fname) ;
int cbuf( int f, int n, int bufnum) ;
int cbuf1( int f, int n) ; int cbuf1( int f, int n) ;
int cbuf2( int f, int n) ; int cbuf2( int f, int n) ;
int cbuf3( int f, int n) ; int cbuf3( int f, int n) ;