diff options
| author | hubertf <hubertf@NetBSD.org> | 2007-01-17 21:44:50 +0000 |
|---|---|---|
| committer | hubertf <hubertf@NetBSD.org> | 2007-01-17 21:44:50 +0000 |
| commit | d405d8ca2b57c07aa24c218f1830df2dcddcf96e (patch) | |
| tree | 61de083e3085c3960f5903c7a97a8d91a526aab2 /libexec/telnetd/sys_term.c | |
| parent | 343432968633250a093b2f7695af7d2da3d94349 (diff) | |
Remove duplicated #includes and some trailing whitespace while here.
From Slava Semushin <slava.semushin@gmail.com>
Diffstat (limited to 'libexec/telnetd/sys_term.c')
| -rw-r--r-- | libexec/telnetd/sys_term.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c index b2ffca46a20..79876d534a0 100644 --- a/libexec/telnetd/sys_term.c +++ b/libexec/telnetd/sys_term.c @@ -1,4 +1,4 @@ -/* $NetBSD: sys_term.c,v 1.43 2005/05/05 01:28:57 lukem Exp $ */ +/* $NetBSD: sys_term.c,v 1.44 2007/01/17 21:44:50 hubertf Exp $ */ /* * Copyright (c) 1989, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)sys_term.c 8.4+1 (Berkeley) 5/30/95"; #else -__RCSID("$NetBSD: sys_term.c,v 1.43 2005/05/05 01:28:57 lukem Exp $"); +__RCSID("$NetBSD: sys_term.c,v 1.44 2007/01/17 21:44:50 hubertf Exp $"); #endif #endif /* not lint */ @@ -44,8 +44,6 @@ __RCSID("$NetBSD: sys_term.c,v 1.43 2005/05/05 01:28:57 lukem Exp $"); #include <util.h> #include <vis.h> -#include <sys/cdefs.h> - #include <utmp.h> struct utmp wtmp; @@ -190,7 +188,7 @@ static int ptyslavefd; /* for cleanopen() */ int getpty(int *ptynum) -{ +{ int ptyfd; ptyfd = openpty(ptynum, &ptyslavefd, line, NULL, NULL); |
