mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-04 19:37:18 -05:00
clean macroes in main and remove main.h (no more dependencies to main).
This commit is contained in:
parent
c96138add5
commit
e2fcb90996
@ -403,6 +403,8 @@
|
||||
|
||||
#if CLEAN
|
||||
#define exit(a) cexit(a)
|
||||
|
||||
int cexit( int status) ;
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
22
main.c
22
main.c
@ -1,6 +1,3 @@
|
||||
/* main.c -- implements main.h */
|
||||
#include "main.h"
|
||||
|
||||
/*
|
||||
* main.c
|
||||
|
||||
@ -60,27 +57,23 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Make global definitions not external. */
|
||||
#define maindef
|
||||
|
||||
#include "crypt.h"
|
||||
#include "display.h"
|
||||
#include "estruct.h" /* Global structures and defines. */
|
||||
#include "edef.h" /* Global definitions. */
|
||||
#include "input.h"
|
||||
#include "termio.h"
|
||||
#include "version.h"
|
||||
|
||||
#include "basic.h"
|
||||
#include "bind.h"
|
||||
#include "bindable.h"
|
||||
#include "buffer.h"
|
||||
#include "crypt.h"
|
||||
#include "display.h"
|
||||
#include "edef.h" /* Global definitions. */
|
||||
#include "estruct.h" /* Global structures and defines. */
|
||||
#include "eval.h"
|
||||
#include "execute.h"
|
||||
#include "file.h"
|
||||
#include "input.h"
|
||||
#include "lock.h"
|
||||
#include "random.h"
|
||||
#include "search.h"
|
||||
#include "termio.h"
|
||||
#include "version.h"
|
||||
|
||||
/* For MSDOS, increase the default stack space. */
|
||||
#if MSDOS & TURBO
|
||||
@ -93,7 +86,6 @@ extern unsigned _stklen = 32766;
|
||||
|
||||
#if UNIX
|
||||
#include <signal.h>
|
||||
static void emergencyexit(int);
|
||||
#ifdef SIGWINCH
|
||||
extern void sizesignal(int);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user