move the #pragmas out of the source files; depend on the Makefile

This commit is contained in:
gdr 1997-09-21 05:57:40 +00:00
parent 45e13e9ddb
commit e64c17d8cb
2 changed files with 2 additions and 10 deletions

View File

@ -35,10 +35,6 @@
segment "libutil___";
#endif
#pragma optimize 0
#pragma debug 0
#pragma memorymodel 0
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)login.c 5.4 (Berkeley) 6/1/90";
#endif /* LIBC_SCCS and not lint */

View File

@ -34,17 +34,13 @@
/*
* This file is formatted for tab stops every 8 characters.
*
* $Id: logintty.c,v 1.1 1997/02/28 05:03:52 gdr Exp $
* $Id: logintty.c,v 1.2 1997/09/21 05:57:40 gdr Exp $
*/
#ifdef __ORCAC__
segment "libutil___";
#endif
#pragma optimize 0 /* was 73 */
#pragma debug 0
#pragma memorymodel 0
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)login_tty.c 1.2 (Berkeley) 6/21/90";
#endif /* LIBC_SCCS and not lint */
@ -63,7 +59,7 @@ static char sccsid[] = "@(#)login_tty.c 1.2 (Berkeley) 6/21/90";
int
login_tty(int fd) {
/* Creates a session and sets the process gruop ID */
/* Creates a session and sets the process group ID */
/*(void) setsid();*/
tcnewpgrp(fd);
settpgrp(fd);