1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-23 09:36:31 -05:00

restrict edinit visibility in main.

This commit is contained in:
Renaud 2013-06-01 11:18:29 +08:00
parent f210ed610b
commit 4348e9f757
2 changed files with 3 additions and 2 deletions

4
main.c
View File

@ -105,6 +105,8 @@ extern void sizesignal(int);
#endif #endif
#endif #endif
static void edinit( char *bname) ;
static void version( void) { static void version( void) {
fputs( PROGRAM_NAME_LONG " version " VERSION "\n", stdout) ; fputs( PROGRAM_NAME_LONG " version " VERSION "\n", stdout) ;
} }
@ -454,7 +456,7 @@ int main(int argc, char **argv)
* as an argument, because the main routine may have been told to read in a * as an argument, because the main routine may have been told to read in a
* file by default, and we want the buffer name to be right. * file by default, and we want the buffer name to be right.
*/ */
void edinit(char *bname) static void edinit(char *bname)
{ {
struct buffer *bp; struct buffer *bp;
struct window *wp; struct window *wp;

1
main.h
View File

@ -1,7 +1,6 @@
#ifndef _MAIN_H_ #ifndef _MAIN_H_
#define _MAIN_H_ #define _MAIN_H_
void edinit( char *bname) ;
int execute( int c, int f, int n) ; int execute( int c, int f, int n) ;
int quickexit( int f, int n) ; int quickexit( int f, int n) ;
int quit( int f, int n) ; int quit( int f, int n) ;