From 259de639e42db34a55beb7bd23ac892c96a3f35d Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Wed, 14 Jan 2015 17:16:33 +0800 Subject: [PATCH] Limit scope of cbuf to exec. --- exec.c | 2 +- exec.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exec.c b/exec.c index bd9ed90..2c12675 100644 --- a/exec.c +++ b/exec.c @@ -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 */ diff --git a/exec.h b/exec.h index fb5f081..d7cba76 100644 --- a/exec.h +++ b/exec.h @@ -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) ;