evdev - Change default mask to fix duplicate mouse movement events in X
[dragonfly.git] / lib / libc / include / un-namespace.h
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: /repoman/r/ncvs/src/lib/libc/include/un-namespace.h,v 1.1 2001/01/24 13:00:09 deischen Exp $
27  */
28
29 #ifndef _UN_NAMESPACE_H_
30 #define _UN_NAMESPACE_H_
31
32 #undef          accept
33 #undef          bind
34 #undef          clock_nanosleep
35 #undef          close
36 #undef          connect
37 #undef          dup
38 #undef          dup2
39 #undef          execve
40 #undef          fcntl
41 /*#undef                flock*/
42 #undef          flockfile
43 #undef          fstat
44 #undef          fstatfs
45 #undef          fsync
46 #undef          funlockfile
47 #undef          getdirentries
48 #undef          getlogin
49 #undef          getpeername
50 #undef          getprogname
51 #undef          getsockname
52 #undef          getsockopt
53 #undef          ioctl
54 /*#undef                kevent*/
55 #undef          listen
56 #undef          nanosleep
57 #undef          open
58 #undef          openat
59 #undef          mkdirat
60 #undef          unlink
61 #undef          unlinkat
62 #undef          poll
63 #undef          ppoll
64 #undef          pthread_atfork
65 #undef          pthread_attr_destroy
66 #undef          pthread_attr_get_np
67 #undef          pthread_attr_getaffinity_np
68 #undef          pthread_attr_getdetachstate
69 #undef          pthread_attr_getguardsize
70 #undef          pthread_attr_getinheritsched
71 #undef          pthread_attr_getschedparam
72 #undef          pthread_attr_getschedpolicy
73 #undef          pthread_attr_getscope
74 #undef          pthread_attr_getstack
75 #undef          pthread_attr_getstackaddr
76 #undef          pthread_attr_getstacksize
77 #undef          pthread_attr_init
78 #undef          pthread_attr_setaffinity_np
79 #undef          pthread_attr_setcreatesuspend_np
80 #undef          pthread_attr_setdetachstate
81 #undef          pthread_attr_setguardsize
82 #undef          pthread_attr_setinheritsched
83 #undef          pthread_attr_setschedparam
84 #undef          pthread_attr_setschedpolicy
85 #undef          pthread_attr_setscope
86 #undef          pthread_attr_setstack
87 #undef          pthread_attr_setstackaddr
88 #undef          pthread_attr_setstacksize
89 #undef          pthread_barrier_destroy
90 #undef          pthread_barrier_init
91 #undef          pthread_barrier_wait
92 #undef          pthread_barrierattr_destroy
93 #undef          pthread_barrierattr_getpshared
94 #undef          pthread_barrierattr_init
95 #undef          pthread_barrierattr_setpshared
96 #undef          pthread_cancel
97 #undef          pthread_cleanup_pop
98 #undef          pthread_cleanup_push
99 #undef          pthread_cond_broadcast
100 #undef          pthread_cond_destroy
101 #undef          pthread_cond_init
102 #undef          pthread_cond_signal
103 #undef          pthread_cond_timedwait
104 #undef          pthread_cond_wait
105 #undef          pthread_condattr_destroy
106 #undef          pthread_condattr_getclock
107 #undef          pthread_condattr_getpshared
108 #undef          pthread_condattr_init
109 #undef          pthread_condattr_setclock
110 #undef          pthread_condattr_setpshared
111 #undef          pthread_create
112 #undef          pthread_detach
113 #undef          pthread_equal
114 #undef          pthread_exit
115 #undef          pthread_get_name_np
116 #undef          pthread_getaffinity_np
117 #undef          pthread_getattr_np
118 #undef          pthread_getconcurrency
119 #undef          pthread_getcpuclockid
120 #undef          pthread_getname_np
121 #undef          pthread_getprio
122 #undef          pthread_getschedparam
123 #undef          pthread_getspecific
124 #undef          pthread_getthreadid_np
125 #undef          pthread_is_threaded_np
126 #undef          pthread_join
127 #undef          pthread_key_create
128 #undef          pthread_key_delete
129 #undef          pthread_kill
130 #undef          pthread_main_np
131 #undef          pthread_multi_np
132 #undef          pthread_mutex_destroy
133 #undef          pthread_mutex_getprioceiling
134 #undef          pthread_mutex_init
135 #undef          pthread_mutex_lock
136 #undef          pthread_mutex_setprioceiling
137 #undef          pthread_mutex_timedlock
138 #undef          pthread_mutex_trylock
139 #undef          pthread_mutex_unlock
140 #undef          pthread_mutexattr_destroy
141 #undef          pthread_mutexattr_getkind_np
142 #undef          pthread_mutexattr_getprioceiling
143 #undef          pthread_mutexattr_getprotocol
144 #undef          pthread_mutexattr_getpshared
145 #undef          pthread_mutexattr_gettype
146 #undef          pthread_mutexattr_init
147 #undef          pthread_mutexattr_setkind_np
148 #undef          pthread_mutexattr_setprioceiling
149 #undef          pthread_mutexattr_setprotocol
150 #undef          pthread_mutexattr_setpshared
151 #undef          pthread_mutexattr_settype
152 #undef          pthread_once
153 #undef          pthread_resume_all_np
154 #undef          pthread_resume_np
155 #undef          pthread_rwlock_destroy
156 #undef          pthread_rwlock_init
157 #undef          pthread_rwlock_rdlock
158 #undef          pthread_rwlock_timedrdlock
159 #undef          pthread_rwlock_timedwrlock
160 #undef          pthread_rwlock_tryrdlock
161 #undef          pthread_rwlock_trywrlock
162 #undef          pthread_rwlock_unlock
163 #undef          pthread_rwlock_wrlock
164 #undef          pthread_rwlockattr_destroy
165 #undef          pthread_rwlockattr_getpshared
166 #undef          pthread_rwlockattr_init
167 #undef          pthread_rwlockattr_setpshared
168 #undef          pthread_self
169 #undef          pthread_set_name_np
170 #undef          pthread_setaffinity_np
171 #undef          pthread_setcancelstate
172 #undef          pthread_setcanceltype
173 #undef          pthread_setconcurrency
174 #undef          pthread_setname_np
175 #undef          pthread_setprio
176 #undef          pthread_setschedparam
177 #undef          pthread_setspecific
178 #undef          pthread_sigmask
179 #undef          pthread_single_np
180 #undef          pthread_spin_destroy
181 #undef          pthread_spin_init
182 #undef          pthread_spin_lock
183 #undef          pthread_spin_trylock
184 #undef          pthread_spin_unlock
185 #undef          pthread_suspend_all_np
186 #undef          pthread_suspend_np
187 #undef          pthread_switch_add_np
188 #undef          pthread_switch_delete_np
189 #undef          pthread_testcancel
190 #undef          pthread_timedjoin_np
191 #undef          pthread_yield
192 #undef          pthread_yield_np
193 #undef          read
194 #undef          readv
195 #undef          recvfrom
196 #undef          recvmsg
197 #undef          select
198 #undef          sem_close
199 #undef          sem_destroy
200 #undef          sem_getvalue
201 #undef          sem_init
202 #undef          sem_open
203 #undef          sem_post
204 #undef          sem_timedwait
205 #undef          sem_trywait
206 #undef          sem_unlink
207 #undef          sem_wait
208 #undef          sendmsg
209 #undef          sendto
210 #undef          setsockopt
211 /*#undef                sigaction*/
212 #undef          sigprocmask
213 #undef          sigsuspend
214 #undef          socket
215 #undef          socketpair
216 #undef          usleep
217 #undef          wait4
218 #undef          wait6
219 #undef          waitpid
220 #undef          waitid
221 #undef          write
222 #undef          writev
223
224 #if 0
225 #undef          creat
226 #undef          fchflags
227 #undef          fchmod
228 #undef          fpathconf
229 #undef          ftrylockfile
230 #undef          msync
231 #undef          nfssvc
232 #undef          pause
233 #undef          sched_yield
234 #undef          sendfile
235 #undef          shutdown
236 #undef          sigaltstack
237 #undef          signanosleep
238 #undef          sigpending
239 #undef          sigreturn
240 #undef          sigsetmask
241 #undef          sleep
242 #undef          system
243 #undef          tcdrain
244 #undef          wait
245 #endif  /* 0 */
246
247 #ifdef _SIGNAL_H_
248 int             _sigaction(int, const struct sigaction *, struct sigaction *);
249 #endif
250
251 #ifdef _SYS_EVENT_H_
252 int             _kevent(int, const struct kevent *, int, struct kevent *,
253                     int, const struct timespec *);
254 #endif
255
256 #ifdef _SYS_FCNTL_H_
257 int             _flock(int, int);
258 #endif
259
260 #undef          err
261 #undef          warn
262 #undef          nsdispatch
263
264 #endif  /* _UN_NAMESPACE_H_ */
265