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 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 */
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 execfile( int f, int n) ;
int dofile( char *fname) ;
int cbuf( int f, int n, int bufnum) ;
int cbuf1( int f, int n) ;
int cbuf2( int f, int n) ;
int cbuf3( int f, int n) ;