Deleted Added
full compact
un-namespace.h (71579) un-namespace.h (72373)
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 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
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 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
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/un-namespace.h 71579 2001-01-24 13:01:12Z deischen $
26 * $FreeBSD: head/lib/libc/include/un-namespace.h 72373 2001-02-11 22:06:43Z deischen $
27 */
28
29#ifndef _UN_NAMESPACE_H_
30#define _UN_NAMESPACE_H_
31
32#undef accept
33#undef bind
34#undef close
35#undef connect
36#undef dup
37#undef dup2
38#undef execve
39#undef fcntl
40#undef flock
41#undef flockfile
42#undef fstat
43#undef fstatfs
44#undef fsync
45#undef funlockfile
46#undef getdirentries
47#undef getlogin
48#undef getpeername
49#undef getsockname
50#undef getsockopt
51#undef ioctl
52#undef kevent
53#undef listen
54#undef nanosleep
55#undef open
56#undef pthread_getspecific
57#undef pthread_key_create
58#undef pthread_key_delete
59#undef pthread_mutex_destroy
60#undef pthread_mutex_init
61#undef pthread_mutex_lock
62#undef pthread_mutex_trylock
63#undef pthread_mutex_unlock
64#undef pthread_mutexattr_init
65#undef pthread_mutexattr_destroy
66#undef pthread_mutexattr_settype
67#undef pthread_once
27 */
28
29#ifndef _UN_NAMESPACE_H_
30#define _UN_NAMESPACE_H_
31
32#undef accept
33#undef bind
34#undef close
35#undef connect
36#undef dup
37#undef dup2
38#undef execve
39#undef fcntl
40#undef flock
41#undef flockfile
42#undef fstat
43#undef fstatfs
44#undef fsync
45#undef funlockfile
46#undef getdirentries
47#undef getlogin
48#undef getpeername
49#undef getsockname
50#undef getsockopt
51#undef ioctl
52#undef kevent
53#undef listen
54#undef nanosleep
55#undef open
56#undef pthread_getspecific
57#undef pthread_key_create
58#undef pthread_key_delete
59#undef pthread_mutex_destroy
60#undef pthread_mutex_init
61#undef pthread_mutex_lock
62#undef pthread_mutex_trylock
63#undef pthread_mutex_unlock
64#undef pthread_mutexattr_init
65#undef pthread_mutexattr_destroy
66#undef pthread_mutexattr_settype
67#undef pthread_once
68#undef pthread_self
68#undef pthread_setspecific
69#undef read
70#undef readv
71#undef recvfrom
72#undef recvmsg
73#undef select
74#undef sendmsg
75#undef sendto
76#undef setsockopt
77#undef sigaction
78#undef sigprocmask
79#undef sigsuspend
80#undef socket
81#undef socketpair
82#undef wait4
83#undef write
84#undef writev
85
86#if 0
87#undef creat
88#undef fchflags
89#undef fchmod
90#undef fpathconf
91#undef ftrylockfile
92#undef msync
93#undef nfssvc
94#undef pause
95#undef poll
96#undef pthread_rwlock_destroy
97#undef pthread_rwlock_init
98#undef pthread_rwlock_rdlock
99#undef pthread_rwlock_tryrdlock
100#undef pthread_rwlock_trywrlock
101#undef pthread_rwlock_unlock
102#undef pthread_rwlock_wrlock
103#undef pthread_rwlockattr_init
104#undef pthread_rwlockattr_destroy
69#undef pthread_setspecific
70#undef read
71#undef readv
72#undef recvfrom
73#undef recvmsg
74#undef select
75#undef sendmsg
76#undef sendto
77#undef setsockopt
78#undef sigaction
79#undef sigprocmask
80#undef sigsuspend
81#undef socket
82#undef socketpair
83#undef wait4
84#undef write
85#undef writev
86
87#if 0
88#undef creat
89#undef fchflags
90#undef fchmod
91#undef fpathconf
92#undef ftrylockfile
93#undef msync
94#undef nfssvc
95#undef pause
96#undef poll
97#undef pthread_rwlock_destroy
98#undef pthread_rwlock_init
99#undef pthread_rwlock_rdlock
100#undef pthread_rwlock_tryrdlock
101#undef pthread_rwlock_trywrlock
102#undef pthread_rwlock_unlock
103#undef pthread_rwlock_wrlock
104#undef pthread_rwlockattr_init
105#undef pthread_rwlockattr_destroy
105#undef pthread_self
106#undef sched_yield
107#undef sendfile
108#undef shutdown
109#undef sigaltstack
110#undef signanosleep
111#undef sigpending
112#undef sigreturn
113#undef sigsetmask
114#undef sleep
115#undef system
116#undef tcdrain
117#undef wait
118#undef waitpid
119#endif /* 0 */
120
121#ifdef _SIGNAL_H_
122int _sigaction(int, const struct sigaction *, struct sigaction *);
123#endif
124
125#ifdef _SYS_EVENT_H_
126int _kevent(int, const struct kevent *, int, struct kevent *,
127 int, const struct timespec *);
128#endif
129
130#ifdef _SYS_FCNTL_H_
131int _flock(int, int);
132#endif
133
134#endif /* _UN_NAMESPACE_H_ */
106#undef sched_yield
107#undef sendfile
108#undef shutdown
109#undef sigaltstack
110#undef signanosleep
111#undef sigpending
112#undef sigreturn
113#undef sigsetmask
114#undef sleep
115#undef system
116#undef tcdrain
117#undef wait
118#undef waitpid
119#endif /* 0 */
120
121#ifdef _SIGNAL_H_
122int _sigaction(int, const struct sigaction *, struct sigaction *);
123#endif
124
125#ifdef _SYS_EVENT_H_
126int _kevent(int, const struct kevent *, int, struct kevent *,
127 int, const struct timespec *);
128#endif
129
130#ifdef _SYS_FCNTL_H_
131int _flock(int, int);
132#endif
133
134#endif /* _UN_NAMESPACE_H_ */