cdefs.h (2165) | cdefs.h (2212) |
---|---|
1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Berkeley Software Design, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)cdefs.h 8.7 (Berkeley) 1/21/94 | 1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Berkeley Software Design, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)cdefs.h 8.7 (Berkeley) 1/21/94 |
37 * $Id: cdefs.h,v 1.4 1994/08/13 14:21:58 davidg Exp $ | 37 * $Id: cdefs.h,v 1.5 1994/08/21 04:41:34 paul Exp $ |
38 */ 39 40#ifndef _SYS_CDEFS_H_ 41#define _SYS_CDEFS_H_ 42 43#if defined(__cplusplus) 44#define __BEGIN_DECLS extern "C" { 45#define __END_DECLS }; --- 72 unchanged lines hidden (view full) --- 118#define __dead2 119#define __pure __const 120#define __pure2 121#endif 122#if __GNUC__ == 2 && __GNUC_MINOR__ > 5 || __GNUC__ >= 3 123#define __dead 124#define __dead2 __attribute__((noreturn)) 125#define __pure | 38 */ 39 40#ifndef _SYS_CDEFS_H_ 41#define _SYS_CDEFS_H_ 42 43#if defined(__cplusplus) 44#define __BEGIN_DECLS extern "C" { 45#define __END_DECLS }; --- 72 unchanged lines hidden (view full) --- 118#define __dead2 119#define __pure __const 120#define __pure2 121#endif 122#if __GNUC__ == 2 && __GNUC_MINOR__ > 5 || __GNUC__ >= 3 123#define __dead 124#define __dead2 __attribute__((noreturn)) 125#define __pure |
126#define __pure2 __attribute__((noreturn)) | 126#define __pure2 __attribute__((const)) |
127#endif 128 | 127#endif 128 |
129#endif /* !_CDEFS_H_ */ | 129#endif /* !_SYS_CDEFS_H_ */ |