Compiles and links correctly.

This commit is contained in:
Martin Baulig
1998-06-14 14:45:57 +00:00
parent bde0d74282
commit 8f14d30d11
4 changed files with 5 additions and 51 deletions

View File

@@ -35,14 +35,6 @@ static char rcsid [] = "!Header: gnuserv.c,v 2.1 95/02/16 11:58:27 arup alpha !"
#include "gnuserv.h"
#ifdef USE_LITOUT
#ifdef linux
#include <bsd/sgtty.h>
#else
#include <sgtty.h>
#endif
#endif
#ifdef AIX
#include <sys/select.h>
#endif
@@ -852,14 +844,6 @@ main(argc,argv)
for(chan=3; chan < _NFILE; close(chan++)) /* close unwanted channels */
;
#ifdef USE_LITOUT
{
/* this is to allow ^D to pass to emacs */
int d = LLITOUT;
(void) ioctl(fileno(stdout), TIOCLBIS, &d);
}
#endif
#ifdef SYSV_IPC
ipc_init(&msgp); /* get a msqid to listen on, and a message buffer */
#endif /* SYSV_IPC */