Remove vestiges of old overlay source split

[trunk only]
This commit is contained in:
nethack.allison
2003-09-05 02:45:18 +00:00
parent 1a94dcfca3
commit 416412f92b
66 changed files with 25 additions and 1306 deletions

View File

@@ -29,14 +29,7 @@
#include <unistd.h> /* for getcwd() prototype */
#endif
#ifdef OVL0
#define SHARED_DCL
#else
#define SHARED_DCL extern
#endif
SHARED_DCL char orgdir[PATHLEN]; /* also used in pcsys.c, amidos.c */
char orgdir[PATHLEN]; /* also used in pcsys.c, amidos.c */
#ifdef TOS
boolean run_from_desktop = TRUE; /* should we pause before exiting?? */
@@ -67,23 +60,16 @@ extern void NDECL(mswin_destroy_reg);
STATIC_DCL char *FDECL(exepath,(char *));
#endif
#ifdef OVL0
int FDECL(main, (int,char **));
#endif
extern void FDECL(pcmain, (int,char **));
#if defined(__BORLANDC__) && !defined(_WIN32)
void NDECL( startup );
# ifdef OVLB
unsigned _stklen = STKSIZ;
# else
extern unsigned _stklen;
# endif
#endif
#ifdef OVL0
/* If the graphics version is built, we don't need a main; it is skipped
* to help MinGW decide which entry point to choose. If both main and
* WinMain exist, the resulting executable won't work correctly.
@@ -104,8 +90,6 @@ char *argv[];
return 0;
}
#endif /*MSWIN_GRAPHICS*/
#endif /*OVL0*/
#ifdef OVL1
void
pcmain(argc,argv)
@@ -667,8 +651,6 @@ boolean wr;
if (wr) check_recordfile(dir ? dir : thisdir);
}
#endif /* CHDIR */
#endif /*OVL1*/
#ifdef OVLB
#ifdef PORT_HELP
# if defined(MSDOS) || defined(WIN32)
@@ -718,5 +700,5 @@ char *str;
return tmp;
}
#endif /* EXEPATH */
#endif /*OVLB*/
/*pcmain.c*/

View File

@@ -19,8 +19,6 @@ extern void NDECL(backsp);
extern void NDECL(clear_screen);
#endif
#ifdef OVLB
#if 0
static struct stat buf;
#endif
@@ -292,8 +290,6 @@ register char *s;
*lp = '_';
}
# endif /* WIN32 */
#endif /* OVLB */
#ifdef __EMX__
void seteuid(int i){;}