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 mlputs( char *s) ;
void getscreensize( int *widthp, int *heightp) ;
#ifdef SIGWINCH
void sizesignal( int signr) ;
#endif
#endif

11
main.c
View File

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

View File

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