Deleted Added
full compact
namespace.h (75186) namespace.h (82496)
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 75186 2001-04-04 18:04:10Z tmm $
26 * $FreeBSD: head/lib/libc/include/namespace.h 82496 2001-08-29 13:52:27Z bde $
27 *
28 */
29
30#ifndef _NAMESPACE_H_
31#define _NAMESPACE_H_
32
33/*
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 warn _warn
42
43/*
34 * Prototypes for syscalls/functions that need to be overridden
35 * in libc_r/libpthread.
36 */
37#define accept _accept
38#define __acl_aclcheck_fd ___acl_aclcheck_fd
39#define __acl_delete_fd ___acl_delete_fd
40#define __acl_get_fd ___acl_get_fd
41#define __acl_set_fd ___acl_set_fd

--- 105 unchanged lines hidden ---
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
49#define __acl_delete_fd ___acl_delete_fd
50#define __acl_get_fd ___acl_get_fd
51#define __acl_set_fd ___acl_set_fd

--- 105 unchanged lines hidden ---