diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2013-12-08 17:05:10 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2013-12-08 17:05:10 +0000 |
commit | 9b50b06eb12bc4ee0c141d6f34994046aad27fbf (patch) | |
tree | 66d8304063794222b7f6723f64b999a26c11e34a | |
parent | 9584d17bdd7abbeac56597cd14c29e9cd5b407f5 (diff) |
remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@
-rw-r--r-- | include/Makefile | 4 | ||||
-rw-r--r-- | include/sgtty.h | 40 | ||||
-rw-r--r-- | sys/sys/timeb.h | 60 |
3 files changed, 2 insertions, 102 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" diff --git a/sys/sys/timeb.h b/sys/sys/timeb.h deleted file mode 100644 index be35beda269..00000000000 --- a/sys/sys/timeb.h +++ /dev/null @@ -1,60 +0,0 @@ -/* $OpenBSD: timeb.h,v 1.5 2003/06/02 23:28:22 millert Exp $ */ -/* $NetBSD: timeb.h,v 1.10 1995/06/05 19:39:35 pk Exp $ */ - -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * 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. - * - * @(#)timeb.h 8.2 (Berkeley) 1/21/94 - */ - -#ifndef _SYS_TIMEB_H_ -#define _SYS_TIMEB_H_ - -/* The ftime(2) system call structure -- deprecated. */ -struct timeb { - time_t time; /* seconds since the Epoch */ - unsigned short millitm; /* + milliseconds since the Epoch */ - short timezone; /* minutes west of UTC */ - short dstflag; /* DST == non-zero */ -}; - -#ifndef _KERNEL -#include <sys/cdefs.h> - -__BEGIN_DECLS -int ftime(struct timeb *tp); -__END_DECLS -#endif /* _KERNEL */ - - -#endif /* !_SYS_TIMEB_H_ */ |