From: Sascha Wildner Date: Wed, 28 Jan 2015 20:58:53 +0000 (+0100) Subject: Remove . It serves no purpose anymore. X-Git-Tag: v4.2.0rc~970 X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff_plain/d6f0f4f59d73c9576778a9d74154283a48a26981?hp=0fb2ae1359fb6e1c069c221154d2594200280b24 Remove . It serves no purpose anymore. --- diff --git a/Makefile_upgrade.inc b/Makefile_upgrade.inc index a0d2bd2789..524f5af48d 100644 --- a/Makefile_upgrade.inc +++ b/Makefile_upgrade.inc @@ -2791,6 +2791,7 @@ TO_REMOVE+=/etc/ssh/blacklist.DSA-2048 TO_REMOVE+=/etc/ssh/blacklist.RSA-1024 TO_REMOVE+=/etc/ssh/blacklist.RSA-2048 TO_REMOVE+=/etc/ssh/blacklist.RSA-4096 +TO_REMOVE+=/usr/include/sys/_posix.h .if ${MACHINE_ARCH} == "x86_64" TO_REMOVE+=/usr/sbin/stlstats diff --git a/sys/sys/_posix.h b/sys/sys/_posix.h deleted file mode 100644 index 8d5d77e31f..0000000000 --- a/sys/sys/_posix.h +++ /dev/null @@ -1,98 +0,0 @@ -#ifndef _SYS__POSIX_H_ -#define _SYS__POSIX_H_ - -/*- - * Copyright (c) 1998 HD Associates, Inc. - * All rights reserved. - * contact: dufault@hda.com - * - * 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. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. - * - * $FreeBSD: src/sys/sys/_posix.h,v 1.6 1999/12/29 04:24:36 peter Exp $ - * $DragonFly: src/sys/sys/_posix.h,v 1.3 2008/11/20 11:27:24 hasso Exp $ - */ - -/* - * This is a stand alone header file to set up for feature specification - * defined to take place before the inclusion of any standard header. - * It should only handle pre-processor defines. - * - * See section B.2.7 of 1003.1b-1993 - * - */ - -#ifdef _KERNEL - -#if !defined(KLD_MODULE) -#include "opt_posix.h" -#endif - -/* Only kern_mib.c uses _POSIX_VERSION. Introduce a kernel - * one to avoid other pieces of the kernel getting dependant - * on that. - * XXX Complain if you think this dumb. - */ - -/* Make P1003 structures visible for the kernel if - * the P1003_1B option is in effect. - */ -#ifdef P1003_1B -#define _P1003_1B_VISIBLE -#ifndef _KPOSIX_VERSION -#define _KPOSIX_VERSION 199309L -#endif -#endif - -#ifndef _KPOSIX_VERSION -#define _KPOSIX_VERSION 199009L -#endif - -#define _P1003_1B_VISIBLE_HISTORICALLY - -#else - -/* Default to existing user space version. - */ -#ifndef _POSIX_VERSION -#define _POSIX_VERSION 200809L -#endif - -/* Test for visibility of P1003.1B features: - * If _POSIX_SOURCE and POSIX_C_SOURCE are completely undefined - * they show up. - * - * If they specify a version including P1003.1B then they show up. - * - * (Two macros are added to permit hiding new extensions while - * keeping historic BSD features - that is not done now) - * - */ - -#if (!defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE)) || \ - (_POSIX_VERSION >= 199309L && defined(_POSIX_C_SOURCE) && \ - (_POSIX_C_SOURCE - 0) >= 199309L) -#define _P1003_1B_VISIBLE -#define _P1003_1B_VISIBLE_HISTORICALLY -#endif - -#endif /* _KERNEL */ -#endif /* _SYS__POSIX_H_ */ diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 9f3d7ac2b5..cd3db30bd1 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -496,8 +496,6 @@ #endif /*- - * The following definitions are an extension of the behavior originally - * implemented in , but with a different level of granularity. * POSIX.1 requires that the macros we test be defined before any standard * header file is included. *