summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2013-12-08 17:05:09 +0000
committernaddy <naddy@openbsd.org>2013-12-08 17:05:09 +0000
commit4ba3f2b83e4e5ba35307f8128002190a45c5b631 (patch)
tree66110bdb2d4902506ad33dd0f9cb9c7698f29569 /include
parentsimplify activate function (diff)
downloadwireguard-openbsd-4ba3f2b83e4e5ba35307f8128002190a45c5b631.tar.xz
wireguard-openbsd-4ba3f2b83e4e5ba35307f8128002190a45c5b631.zip
remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@
Diffstat (limited to 'include')
-rw-r--r--include/Makefile4
-rw-r--r--include/sgtty.h40
2 files changed, 2 insertions, 42 deletions
diff --git a/include/Makefile b/include/Makefile
index 622e2cead6d..b8151037586 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.180 2013/12/05 17:16:02 deraadt Exp $
+# $OpenBSD: Makefile,v 1.181 2013/12/08 17:05:09 naddy Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@@ -16,7 +16,7 @@ FILES= a.out.h ar.h assert.h bitstring.h blf.h bm.h bsd_auth.h \
langinfo.h libgen.h limits.h locale.h login_cap.h malloc.h math.h md4.h \
md5.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
ohash.h paths.h poll.h pwd.h ranlib.h readpassphrase.h regex.h \
- resolv.h rmd160.h search.h setjmp.h sgtty.h sha1.h sha2.h signal.h sndio.h \
+ resolv.h rmd160.h search.h setjmp.h sha1.h sha2.h signal.h sndio.h \
spawn.h stdbool.h stddef.h stdio.h stdlib.h string.h strings.h struct.h \
sysexits.h tar.h tgmath.h time.h ttyent.h tzfile.h unistd.h utime.h \
utmp.h vis.h wchar.h wctype.h
diff --git a/include/sgtty.h b/include/sgtty.h
deleted file mode 100644
index 7c0684f3715..00000000000
--- a/include/sgtty.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/* $OpenBSD: sgtty.h,v 1.6 2013/12/04 22:58:24 deraadt Exp $ */
-/* $NetBSD: sgtty.h,v 1.4 1995/06/05 19:40:33 pk Exp $ */
-
-/*
- * Copyright (c) 1985 The Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)sgtty.h 5.2 (Berkeley) 6/26/91
- */
-
-#ifndef USE_OLD_TTY
-#define USE_OLD_TTY
-#endif
-#include <sys/ioctl.h>
-
-#warning "<sgtty.h> is obsolete"