Deleted Added
full compact
namespace.h (85159) namespace.h (86250)
1/*
2 * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*
2 * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/lib/libc/include/namespace.h 85159 2001-10-19 13:01:57Z ru $
26 * $FreeBSD: head/lib/libc/include/namespace.h 86250 2001-11-11 02:48:09Z bde $
27 *
28 */
29
30#ifndef _NAMESPACE_H_
31#define _NAMESPACE_H_
32
33/*
34 * Adjust names so that headers declare "hidden" names.
35 */
36
37/*
38 * ISO C (C90) section. Most names in libc aren't in ISO C, so they
39 * should be here. Most aren't here...
40 */
27 *
28 */
29
30#ifndef _NAMESPACE_H_
31#define _NAMESPACE_H_
32
33/*
34 * Adjust names so that headers declare "hidden" names.
35 */
36
37/*
38 * ISO C (C90) section. Most names in libc aren't in ISO C, so they
39 * should be here. Most aren't here...
40 */
41#define err _err
41#define warn _warn
42
43/*
44 * Prototypes for syscalls/functions that need to be overridden
45 * in libc_r/libpthread.
46 */
47#define accept _accept
48#define __acl_aclcheck_fd ___acl_aclcheck_fd

--- 107 unchanged lines hidden ---
42#define warn _warn
43
44/*
45 * Prototypes for syscalls/functions that need to be overridden
46 * in libc_r/libpthread.
47 */
48#define accept _accept
49#define __acl_aclcheck_fd ___acl_aclcheck_fd

--- 107 unchanged lines hidden ---