1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-17 18:16:22 -05:00

Clean up extern's in C files.

This commit is contained in:
Renaud 2013-10-09 14:56:43 +08:00
parent 0f6ff70764
commit f166293e73
3 changed files with 8 additions and 7 deletions

View File

@ -21,6 +21,9 @@ void mlwrite( const char *fmt, ...) ;
void mlforce( char *s) ; void mlforce( char *s) ;
void mlputs( char *s) ; void mlputs( char *s) ;
void getscreensize( int *widthp, int *heightp) ; void getscreensize( int *widthp, int *heightp) ;
#ifdef SIGWINCH
void sizesignal( int signr) ; void sizesignal( int signr) ;
#endif
#endif #endif

11
main.c
View File

@ -59,12 +59,16 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "estruct.h" /* Global structures and defines. */
#if UNIX
#include <signal.h>
#endif
#include "basic.h" #include "basic.h"
#include "bind.h" #include "bind.h"
#include "bindable.h" #include "bindable.h"
#include "buffer.h" #include "buffer.h"
#include "display.h" #include "display.h"
#include "estruct.h" /* Global structures and defines. */
#include "globals.h" /* Global definitions. */ #include "globals.h" /* Global definitions. */
#include "eval.h" #include "eval.h"
#include "execute.h" #include "execute.h"
@ -89,11 +93,6 @@ extern unsigned _stklen = 32766;
#endif #endif
#if UNIX #if UNIX
#include <signal.h>
#ifdef SIGWINCH
extern void sizesignal(int);
#endif
static void emergencyexit(int signr) static void emergencyexit(int signr)
{ {
quickexit(FALSE, 0); quickexit(FALSE, 0);

View File

@ -1471,7 +1471,6 @@ static int mceq(int bc, struct magic *mt)
return result; return result;
} }
extern char *clearbits(void);
/* /*
* cclmake -- create the bitmap for the character class. * cclmake -- create the bitmap for the character class.