xref: /netbsd/lib/libc/include/namespace.h (revision 5a243ca7)
1 /*	$NetBSD: namespace.h,v 1.203 2022/05/31 13:42:59 riastradh Exp $	*/
2 
3 /*-
4  * Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 1. Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26  * POSSIBILITY OF SUCH DAMAGE.
27  */
28 
29 #ifndef _NAMESPACE_H_
30 #define _NAMESPACE_H_
31 
32 #include <sys/cdefs.h>
33 #include <ssp/ssp.h>
34 
35 #define aio_suspend	_aio_suspend
36 #define brk		_brk
37 #define catclose	_catclose
38 #define catgets		_catgets
39 #define catopen		_catopen
40 #define catopen_l	_catopen_l
41 #define daylight	_daylight
42 #define difftime	_difftime
43 #define devname_r	_devname_r
44 #define err		_err
45 #define errc		_errc
46 #define errx		_errx
47 #ifdef _REENTRANT
48 #define fileno		_fileno
49 #endif /* _REENTRANT */
50 #define fork		_fork
51 #define fseeko		_fseeko
52 #define ftello		_ftello
53 #define getcontext	_getcontext
54 #define getenv_r	_getenv_r
55 #define imaxabs		_imaxabs
56 #define imaxdiv		_imaxdiv
57 #define inet_aton	_inet_aton
58 #define inet_pton	_inet_pton
59 #define pipe		_pipe
60 #define sbrk		_sbrk
61 #define strerror_l	_strerror_l
62 #define strerror_r	_strerror_r
63 #define strerror_r_ss	_strerror_r_ss
64 #define strlcat		_strlcat
65 #define strlcpy		_strlcpy
66 #define strtod_l	_strtod_l
67 #define strtof		_strtof
68 #define strtof_l	_strtof_l
69 #define strtoi		_strtoi
70 #define strtoi_l	_strtoi_l
71 #define strtoimax	_strtoimax
72 #define strtoimax_l	_strtoimax_l
73 #define strtold		_strtold
74 #define strtold_l	_strtold_l
75 #define strtoll		_strtoll
76 #define strtoll_l	_strtoll_l
77 #define strtou		_strtou
78 #define strtou_l	_strtou_l
79 #define strtoull	_strtoull
80 #define strtoull_l	_strtoull_l
81 #define strtoumax	_strtoumax
82 #define strtoumax_l	_strtoumax_l
83 #define sys_errlist	_sys_errlist
84 #define sys_nerr	_sys_nerr
85 #define sys_siglist	_sys_siglist
86 #define	sys_nsig	_sys_nsig
87 #define sysconf		__sysconf
88 #define verr		_verr
89 #define verrc		_verrc
90 #define verrx		_verrx
91 #define vwarn		_vwarn
92 #define vwarnc		_vwarnc
93 #define vwarnx		_vwarnx
94 #define warn		_warn
95 #define warnc		_warnc
96 #define warnx		_warnx
97 
98 /*
99  * namespace protection for libc functions that are used internally
100  * in libc and should be not overridden by applications. To do this,
101  * this header renames them to a name that starts with an "_" so that
102  * libc uses the "_" flavor internally (and this name is not part of
103  * the application namespace), and then a weak alias is added to the
104  * "_" name next to the function definition so that the function is
105  * exposed again.
106  *
107  * See src/lib/libc/README for more details.
108  */
109 
110 #ifdef __weak_alias
111 #define MD2Data			_MD2Data
112 #define MD2End			_MD2End
113 #define MD2FileChunk		_MD2FileChunk
114 #define MD2File			_MD2File
115 #define MD2Final		_MD2Final
116 #define MD2Init			_MD2Init
117 #define MD2Transform		_MD2Transform
118 #define MD2Update		_MD2Update
119 #define MD4Data			_MD4Data
120 #define MD4End			_MD4End
121 #define MD4FileChunk		_MD4FileChunk
122 #define MD4File			_MD4File
123 #define MD4Final		_MD4Final
124 #define MD4Init			_MD4Init
125 #define MD4Transform		_MD4Transform
126 #define MD4Update		_MD4Update
127 #define MD5Data			_MD5Data
128 #define MD5End			_MD5End
129 #define MD5FileChunk		_MD5FileChunk
130 #define MD5File			_MD5File
131 #define MD5Final		_MD5Final
132 #define MD5Init			_MD5Init
133 #define MD5Transform		_MD5Transform
134 #define MD5Update		_MD5Update
135 #define RMD160Data		_RMD160Data
136 #define RMD160End		_RMD160End
137 #define RMD160FileChunk		_RMD160FileChunk
138 #define RMD160File		_RMD160File
139 #define RMD160Final		_RMD160Final
140 #define RMD160Init		_RMD160Init
141 #define RMD160Transform		_RMD160Transform
142 #define RMD160Update		_RMD160Update
143 #define SHA1Data		_SHA1Data
144 #define SHA1End			_SHA1End
145 #define SHA1FileChunk		_SHA1FileChunk
146 #define SHA1File		_SHA1File
147 #define SHA1Final		_SHA1Final
148 #define SHA1Init		_SHA1Init
149 #define SHA1Transform		_SHA1Transform
150 #define SHA1Update		_SHA1Update
151 #define SHA224_Data		_SHA224_Data
152 #define SHA224_End		_SHA224_End
153 #define SHA224_FileChunk	_SHA224_FileChunk
154 #define SHA224_File		_SHA224_File
155 #define SHA224_Final		_SHA224_Final
156 #define SHA224_Init		_SHA224_Init
157 #define SHA224_Transform	_SHA224_Transform
158 #define SHA224_Update		_SHA224_Update
159 #define SHA256_Data		_SHA256_Data
160 #define SHA256_End		_SHA256_End
161 #define SHA256_FileChunk	_SHA256_FileChunk
162 #define SHA256_File		_SHA256_File
163 #define SHA256_Final		_SHA256_Final
164 #define SHA256_Init		_SHA256_Init
165 #define SHA256_Transform	_SHA256_Transform
166 #define SHA256_Update		_SHA256_Update
167 #define SHA3_224_Init		_SHA3_224_Init
168 #define SHA3_224_Update		_SHA3_224_Update
169 #define SHA3_224_Final		_SHA3_224_Final
170 #define SHA3_256_Init		_SHA3_256_Init
171 #define SHA3_256_Update		_SHA3_256_Update
172 #define SHA3_256_Final		_SHA3_256_Final
173 #define SHA3_384_Init		_SHA3_284_Init
174 #define SHA3_384_Update		_SHA3_284_Update
175 #define SHA3_384_Final		_SHA3_284_Final
176 #define SHA3_512_Init		_SHA3_512_Init
177 #define SHA3_512_Update		_SHA3_512_Update
178 #define SHA3_512_Final		_SHA3_512_Final
179 #define	SHA3_Selftest		_SHA3_Selftest
180 #define SHA384_Data		_SHA384_Data
181 #define SHA384_End		_SHA384_End
182 #define SHA384_FileChunk	_SHA384_FileChunk
183 #define SHA384_File		_SHA384_File
184 #define SHA384_Final		_SHA384_Final
185 #define SHA384_Init		_SHA384_Init
186 #define SHA384_Transform	_SHA384_Transform
187 #define SHA384_Update		_SHA384_Update
188 #define SHA512_Data		_SHA512_Data
189 #define SHA512_End		_SHA512_End
190 #define SHA512_FileChunk	_SHA512_FileChunk
191 #define SHA512_File		_SHA512_File
192 #define SHA512_Final		_SHA512_Final
193 #define SHA512_Init		_SHA512_Init
194 #define SHA512_Transform	_SHA512_Transform
195 #define SHA512_Update		_SHA512_Update
196 #define	SHAKE128_Init		_SHAKE128_Init
197 #define	SHAKE128_Update		_SHAKE128_Update
198 #define	SHAKE128_Final		_SHAKE128_Final
199 #define	SHAKE256_Init		_SHAKE256_Init
200 #define	SHAKE256_Update		_SHAKE256_Update
201 #define	SHAKE256_Final		_SHAKE256_Final
202 #define a64l			_a64l
203 #define adjtime			_adjtime
204 #define alarm			_alarm
205 #define allocaddrinfo		_allocaddrinfo
206 #define alphasort		_alphasort
207 #define arc4random		_arc4random
208 #define arc4random_addrandom	_arc4random_addrandom
209 #define arc4random_buf		_arc4random_buf
210 #define arc4random_stir		_arc4random_stir
211 #define arc4random_uniform	_arc4random_uniform
212 #define asctime_r		_asctime_r
213 #define asprintf		_asprintf
214 #define asprintf_l		_asprintf_l
215 #define asysctl			_asysctl
216 #define asysctlbyname		_asysctlbyname
217 #define atoll			_atoll
218 #define authnone_create		_authnone_create
219 #define authunix_create		_authunix_create
220 #define authunix_create_default _authunix_create_default
221 #define basename		_basename
222 #define bindresvport		_bindresvport
223 #define bindresvport_sa		_bindresvport_sa
224 #define bm_comp			_bm_comp
225 #define bm_exec			_bm_exec
226 #define bm_free			_bm_free
227 #define callrpc			_callrpc
228 #define cdbr_close		_cdbr_close
229 #define cdbr_find		_cdbr_find
230 #define cdbr_get		_cdbr_get
231 #define cdbr_open		_cdbr_open
232 #define cdbr_open_mem		_cdbr_open_mem
233 #define cdbw_close		_cdbw_close
234 #define cdbw_open		_cdbw_open
235 #define cdbw_put		_cdbw_put
236 #define cdbw_put_data		_cdbw_put_data
237 #define cdbw_put_key		_cdbw_put_key
238 #define cdbw_output		_cdbw_output
239 #define cfgetispeed		_cfgetispeed
240 #define cfgetospeed		_cfgetospeed
241 #define cfmakeraw		_cfmakeraw
242 #define cfsetispeed		_cfsetispeed
243 #define cfsetospeed		_cfsetospeed
244 #define cfsetspeed		_cfsetspeed
245 #define cgetcap			_cgetcap
246 #define cgetclose		_cgetclose
247 #define cgetent			_cgetent
248 #define cgetfirst		_cgetfirst
249 #define cgetmatch		_cgetmatch
250 #define cgetnext		_cgetnext
251 #define cgetnum			_cgetnum
252 #define cgetset			_cgetset
253 #define cgetstr			_cgetstr
254 #define cgetustr		_cgetustr
255 #define clnt_broadcast		_clnt_broadcast
256 #define clnt_create		_clnt_create
257 #define clnt_create_vers	_clnt_create_vers
258 #define clnt_dg_create		_clnt_dg_create
259 #define clnt_pcreateerror	_clnt_pcreateerror
260 #define clnt_perrno		_clnt_perrno
261 #define clnt_perror		_clnt_perror
262 #define clnt_raw_create		_clnt_raw_create
263 #define clnt_tli_create		_clnt_tli_create
264 #define clnt_tp_create		_clnt_tp_create
265 #define clnt_spcreateerror	_clnt_spcreateerror
266 #define clnt_sperrno		_clnt_sperrno
267 #define clnt_sperror		_clnt_sperror
268 #define clnt_vc_create		_clnt_vc_create
269 #define clntraw_create		_clntraw_create
270 #define clnttcp_create		_clnttcp_create
271 #define clntudp_bufcreate	_clntudp_bufcreate
272 #define clntudp_create		_clntudp_create
273 #define clock_gettime		_clock_gettime
274 #define clock_getres		_clock_getres
275 #define clock_settime		_clock_settime
276 #define closedir		_closedir
277 #define closelog		_closelog
278 #define closelog_r		_closelog_r
279 #define confstr			_confstr
280 #define consttime_memequal	_consttime_memequal
281 #define csetexpandtc		_csetexpandtc
282 #define ctermid			_ctermid
283 #define ctime_r			_ctime_r
284 #define ctime_rz		_ctime_rz
285 #define daemon			_daemon
286 #define dbopen			_dbopen
287 #define devname			_devname
288 #define difftime		_difftime
289 #define dirname			_dirname
290 #define dn_expand		_dn_expand
291 #define dprintf_l		_dprintf_l
292 #define drand48			_drand48
293 #define duplocale		_duplocale
294 #define endfsent		_endfsent
295 #define endgrent		_endgrent
296 #define endhostent		_endhostent
297 #define endnetconfig		_endnetconfig
298 #define endnetent		_endnetent
299 #define endnetgrent		_endnetgrent
300 #define endnetpath		_endnetpath
301 #define endprotoent		_endprotoent
302 #define endprotoent_r		_endprotoent_r
303 #define endpwent		_endpwent
304 #define endrpcent		_endrpcent
305 #define endservent		_endservent
306 #define endservent_r		_endservent_r
307 #define endttyent		_endttyent
308 #define endusershell		_endusershell
309 #define erand48			_erand48
310 #define ether_aton		_ether_aton
311 #define ether_hostton		_ether_hostton
312 #define ether_line		_ether_line
313 #define ether_ntoa		_ether_ntoa
314 #define ether_ntohost		_ether_ntohost
315 #define execl			_execl
316 #define execle			_execle
317 #define execlp			_execlp
318 #define execlpe			_execlpe
319 #define execv			_execv
320 #define execvp			_execvp
321 #define execvpe			_execvpe
322 #define explicit_memset		_explicit_memset
323 #define fdiscard		_fdiscard
324 #define fdopen			_fdopen
325 #define fgetln			_fgetln
326 #define fgetwln			_fgetwln
327 #define flockfile		_flockfile
328 #define ftrylockfile		_ftrylockfile
329 #define funlockfile		_funlockfile
330 #define fnmatch			_fnmatch
331 #define fparseln		_fparseln
332 #define fprintf_l		_fprintf_l
333 #define fpgetmask		_fpgetmask
334 #define fpgetprec		_fpgetprec
335 #define fpgetround		_fpgetround
336 #define fpgetsticky		_fpgetsticky
337 #define fpsetmask		_fpsetmask
338 #define fpsetprec		_fpsetprec
339 #define fpsetround		_fpsetround
340 #define fpsetsticky		_fpsetsticky
341 #define freenetconfigent	_freenetconfigent
342 #define freeaddrinfo		_freeaddrinfo
343 #define freeifaddrs		_freeifaddrs
344 #define freelocale		_freelocale
345 #define fscanf_l		_fscanf_l
346 #define ftok			_ftok
347 #define ftruncate		_ftruncate
348 #define fts_children		_fts_children
349 #define fts_close		_fts_close
350 #define fts_open		_fts_open
351 #define fts_read		_fts_read
352 #define fts_set			_fts_set
353 #define fwprintf_l		_fwprintf_l
354 #define fwscanf_l		_fwscanf_l
355 #define gai_strerror		_gai_strerror
356 #define get_myaddress		_get_myaddress
357 #define getaddrinfo		_getaddrinfo
358 #define getbsize		_getbsize
359 #define getcwd			_getcwd
360 #define getdelim		_getdelim
361 #define getdevmajor		_getdevmajor
362 #define getdiskbyname		_getdiskbyname
363 #define getdomainname		_getdomainname
364 #define getentropy		_getentropy
365 #define getfsent		_getfsent
366 #define getfsfile		_getfsfile
367 #define getfsspec		_getfsspec
368 #define getgrent		_getgrent
369 #define getgrent_r		_getgrent_r
370 #define getgrgid		_getgrgid
371 #define getgrgid_r		_getgrgid_r
372 #define getgrnam		_getgrnam
373 #define getgrnam_r		_getgrnam_r
374 #define getgrouplist		_getgrouplist
375 #define getgroupmembership	_getgroupmembership
376 #define gethostbyaddr		_gethostbyaddr
377 #define gethostbyname		_gethostbyname
378 #define gethostent		_gethostent
379 #define gethostname		_gethostname
380 #define getifaddrs		_getifaddrs
381 #define getline			_getline
382 #define getloadavg		_getloadavg
383 #define getlogin		_getlogin
384 #define getlogin_r		_getlogin_r
385 #define getmntinfo		_getmntinfo
386 #define getmode			_getmode
387 #define getnameinfo		_getnameinfo
388 #define getnetbyaddr		_getnetbyaddr
389 #define getnetbyname		_getnetbyname
390 #define getnetconfig		_getnetconfig
391 #define getnetconfigent		_getnetconfigent
392 #define getnetent		_getnetent
393 #define getnetgrent		_getnetgrent
394 #define getnetpath		_getnetpath
395 #define getopt			_getopt
396 #define getopt_long		_getopt_long
397 #define getpagesize		_getpagesize
398 #define getpass			_getpass
399 #define getpassfd		_getpassfd
400 #define getpass_r		_getpass_r
401 #define getprogname		_getprogname
402 #define getprotobyname		_getprotobyname
403 #define getprotobyname_r	_getprotobyname_r
404 #define getprotobynumber	_getprotobynumber
405 #define getprotobynumber_r	_getprotobynumber_r
406 #define getprotoent		_getprotoent
407 #define getprotoent_r		_getprotoent_r
408 #define getpwent		_getpwent
409 #define getpwent_r		_getpwent_r
410 #define getpwnam		_getpwnam
411 #define getpwnam_r		_getpwnam_r
412 #define getpwuid		_getpwuid
413 #define getpwuid_r		_getpwuid_r
414 #define getrpcbyname		_getrpcbyname
415 #define getrpcbyname_r		_getrpcbyname_r
416 #define getrpcbynumber		_getrpcbynumber
417 #define getrpcbynumber_r	_getrpcbynumber_r
418 #define getrpcent		_getrpcent
419 #define getrpcent_r		_getrpcent_r
420 #define getrpcport		_getrpcport
421 #define getservbyname		_getservbyname
422 #define getservbyname_r		_getservbyname_r
423 #define getservbyport		_getservbyport
424 #define getservbyport_r		_getservbyport_r
425 #define getservent		_getservent
426 #define getservent_r		_getservent_r
427 #define getsubopt		_getsubopt
428 #define getttyent		_getttyent
429 #define getttynam		_getttynam
430 #define getusershell		_getusershell
431 #define glob			_glob
432 #define globfree		_globfree
433 #define gmtime_r		_gmtime_r
434 #define group_from_gid		_group_from_gid
435 #define heapsort		_heapsort
436 #define herror			_herror
437 #define hes_error		_hes_error
438 #define hes_free		_hes_free
439 #define hes_init		_hes_init
440 #define hes_resolve		_hes_resolve
441 #define hes_to_bind		_hes_to_bind
442 #define hesiod_end		_hesiod_end
443 #define hesiod_free_list	_hesiod_free_list
444 #define hesiod_init		_hesiod_init
445 #define hesiod_resolve		_hesiod_resolve
446 #define hesiod_to_bind		_hesiod_to_bind
447 #define iconv			_iconv
448 #define iconv_open		_iconv_open
449 #define iconv_close		_iconv_close
450 #define if_freenameindex	_if_freenameindex
451 #define if_indextoname		_if_indextoname
452 #define if_nameindex		_if_nameindex
453 #define if_nametoindex		_if_nametoindex
454 #define in6addr_any		_in6addr_any
455 #define in6addr_linklocal_allnodes	_in6addr_linklocal_allnodes
456 #define in6addr_linklocal_allrouters	_in6addr_linklocal_allrouters
457 #define in6addr_loopback	_in6addr_loopback
458 #define in6addr_nodelocal_allnodes	_in6addr_nodelocal_allnodes
459 #define inet6_option_alloc	_inet6_option_alloc
460 #define inet6_option_append	_inet6_option_append
461 #define inet6_option_find	_inet6_option_find
462 #define inet6_option_init	_inet6_option_init
463 #define inet6_option_next	_inet6_option_next
464 #define inet6_option_space	_inet6_option_space
465 #define inet6_opt_init		_inet6_opt_init
466 #define inet6_opt_append	_inet6_opt_append
467 #define inet6_opt_finish	_inet6_opt_finish
468 #define inet6_opt_set_val	_inet6_opt_set_val
469 #define inet6_opt_next		_inet6_opt_next
470 #define inet6_opt_find		_inet6_opt_find
471 #define inet6_opt_get_val	_inet6_opt_get_val
472 #define inet6_rthdr_add		_inet6_rthdr_add
473 #define inet6_rthdr_getaddr	_inet6_rthdr_getaddr
474 #define inet6_rthdr_getflags	_inet6_rthdr_getflags
475 #define inet6_rthdr_init	_inet6_rthdr_init
476 #define inet6_rthdr_lasthop	_inet6_rthdr_lasthop
477 #define inet6_rthdr_segments	_inet6_rthdr_segments
478 #define inet6_rthdr_space	_inet6_rthdr_space
479 #define inet6_rth_space		_inet6_rth_space
480 #define inet6_rth_init		_inet6_rth_init
481 #define inet6_rth_add		_inet6_rth_add
482 #define inet6_rth_reverse	_inet6_rth_reverse
483 #define inet6_rth_segments	_inet6_rth_segments
484 #define inet6_rth_getaddr	_inet6_rth_getaddr
485 #define inet_cidr_ntop		_inet_cidr_ntop
486 #define inet_cidr_pton		_inet_cidr_pton
487 #define inet_lnaof		_inet_lnaof
488 #define inet_makeaddr		_inet_makeaddr
489 #define inet_net_ntop		_inet_net_ntop
490 #define inet_net_pton		_inet_net_pton
491 #define inet_neta		_inet_neta
492 #define inet_netof		_inet_netof
493 #define inet_network		_inet_network
494 #define inet_nsap_addr		_inet_nsap_addr
495 #define inet_nsap_ntoa		_inet_nsap_ntoa
496 #define inet_ntoa		_inet_ntoa
497 #define inet_ntop		_inet_ntop
498 #define initgroups		_initgroups
499 #define initstate		_initstate
500 #define innetgr			_innetgr
501 #define isatty			_isatty
502 #define jrand48			_jrand48
503 #define kill			_kill
504 #define l64a			_l64a
505 #define l64a_r			_l64a_r
506 #define lcong48			_lcong48
507 #define llabs			_llabs
508 #define lldiv			_lldiv
509 #define localtime_r		_localtime_r
510 #define localtime_rz		_localtime_rz
511 #define lockf			_lockf
512 #define lrand48			_lrand48
513 #define lseek			_lseek
514 #define membar_producer		_membar_producer
515 #define mergesort		_mergesort
516 #define mi_vector_hash		_mi_vector_hash
517 #define mkstemp			_mkstemp
518 #define mktime_z		_mktime_z
519 #define mmap			_mmap
520 #define mpool_close		_mpool_close
521 #define mpool_filter		_mpool_filter
522 #define mpool_get		_mpool_get
523 #define mpool_new		_mpool_new
524 #define mpool_newf		_mpool_newf
525 #define mpool_open		_mpool_open
526 #define mpool_put		_mpool_put
527 #define mpool_sync		_mpool_sync
528 #define mq_timedreceive		_mq_timedreceive
529 #define mq_timedsend		_mq_timedsend
530 #define mrand48			_mrand48
531 #define murmurhash2		_murmurhash2
532 #define nc_perror		_nc_perror
533 #define nc_sperror		_nc_sperror
534 #define nanosleep		_nanosleep
535 #define newlocale		_newlocale
536 #define nice			_nice
537 #if 0
538 #define nlist			_nlist
539 #endif
540 #define nl_langinfo_l		_nl_langinfo_l
541 #define nrand48			_nrand48
542 #define ntp_adjtime		_ntp_adjtime
543 #define nsdispatch		_nsdispatch
544 #define offtime			_offtime
545 #define opendir			_opendir
546 #define fdopendir		_fdopendir
547 #define openlog			_openlog
548 #define openlog_r		_openlog_r
549 #define pause			_pause
550 #define pclose			_pclose
551 #define pmap_getmaps		_pmap_getmaps
552 #define pmap_getport		_pmap_getport
553 #define pmap_rmtcall		_pmap_rmtcall
554 #define pmap_set		_pmap_set
555 #define pmap_unset		_pmap_unset
556 #define paccept			_paccept
557 #define pollts			_pollts
558 #define popen			_popen
559 #define posix2time		_posix2time
560 #define posix2time_z		_posix2time_z
561 #define pread			_pread
562 #define printf_l		_printf_l
563 #define pselect			_pselect
564 #define posix_fallocate		_posix_fallocate
565 #define psignal			_psignal
566 #define pthread_atfork		_pthread_atfork
567 #define ptree_init		ptree_init
568 #define ptree_insert_node	ptree_insert_node
569 #define ptree_insert_mask_node	ptree_insert_mask_node
570 #define ptree_find_filtered_node	ptree_find_filtered_node
571 #define ptree_remove_node	ptree_remove_node
572 #define ptree_iterate		ptree_iterate
573 #define putenv			_putenv
574 #define pwcache_groupdb		_pwcache_groupdb
575 #define pwcache_userdb		_pwcache_userdb
576 #define pwrite			_pwrite
577 #define qabs			_qabs
578 #define qdiv			_qdiv
579 #define radixsort		_radixsort
580 #define random			_random
581 #define randomid		_randomid
582 #define randomid_new		_randomid_new
583 #define randomid_delete		_randomid_delete
584 #define read			_read
585 #define readdir			_readdir
586 #define readdir_r		_readdir_r
587 #define readlink		_readlink
588 #define reallocarr		_reallocarr
589 #define realpath		_realpath
590 #define regcomp			_regcomp
591 #define regerror		_regerror
592 #define regexec			_regexec
593 #define regfree			_regfree
594 #define registerrpc		_registerrpc
595 #define res_init		_res_init
596 #define res_mkquery		_res_mkquery
597 #define res_query		_res_query
598 #define res_search		_res_search
599 #define rewinddir		_rewinddir
600 #define rpc_broadcast		_rpc_broadcast
601 #define rpc_broadcast_exp	_rpc_broadcast_exp
602 #define rpc_call		_rpc_call
603 #define rpc_control		_rpc_control
604 #define rpc_reg			_rpc_reg
605 #define rpcb_getmaps		_rpcb_getmaps
606 #define rpcb_gettime		_rpcb_gettime
607 #define rpcb_rmtcall		_rpcb_rmtcall
608 #define rpcb_set		_rpcb_set
609 #define rpcb_taddr2uaddr	_rpcb_taddr2uaddr
610 #define rpcb_uaddr2taddr	_rpcb_uaddr2taddr
611 #define rpcb_unset		_rpcb_unset
612 #define scandir			_scandir
613 #define scanf_l			_scanf_l
614 #define seed48			_seed48
615 #define seekdir			_seekdir
616 #define select			_select
617 #define send			_send
618 #define setdomainname		_setdomainname
619 #define setenv			_setenv
620 #define setfsent		_setfsent
621 #define setgrent		_setgrent
622 #define setgroupent		_setgroupent
623 #define sethostent		_sethostent
624 #define sethostname		_sethostname
625 #define setlogin		_setlogin
626 #define setlogmask		_setlogmask
627 #define setlogmask_r		_setlogmask_r
628 #define setmode			_setmode
629 #define setnetconfig		_setnetconfig
630 #define setnetent		_setnetent
631 #define setnetgrent		_setnetgrent
632 #define setpassent		_setpassent
633 #define setnetpath		_setnetpath
634 #define setproctitle		_setproctitle
635 #define setprotoent		_setprotoent
636 #define setprotoent_r		_setprotoent_r
637 #define setpwent		_setpwent
638 #define setrpcent		_setrpcent
639 #define setservent		_setservent
640 #define setservent_r		_setservent_r
641 #define setstate		_setstate
642 #define setttyent		_setttyent
643 #define setttyentpath		_setttyentpath
644 #define settimeofday		_settimeofday
645 #define setusershell		_setusershell
646 #define shm_open		_shm_open
647 #define shm_unlink		_shm_unlink
648 #define shquote			_shquote
649 #define siginterrupt		_siginterrupt
650 #define signal			_signal
651 #define sigtimedwait		_sigtimedwait
652 #define sl_add			_sl_add
653 #define sl_create		_sl_create
654 #define sl_delete		_sl_delete
655 #define sl_find			_sl_find
656 #define sl_free			_sl_free
657 #define sl_init			_sl_init
658 #define sleep			_sleep
659 #if __SSP_FORTIFY_LEVEL == 0 && !defined(snprintf)
660 #define snprintf		_snprintf
661 #endif
662 #define snprintf_l		_snprintf_l
663 #define snprintf_ss		_snprintf_ss
664 #define sprintf_l		_sprintf_l
665 #define sradixsort		_sradixsort
666 #define srand48			_srand48
667 #define srandom			_srandom
668 #define sscanf_l		_sscanf_l
669 #define strcasecmp		_strcasecmp
670 #define strcoll_l		_strcoll_l
671 #define strdup			_strdup
672 #define stresep			_stresep
673 #define strftime_l		_strftime_l
674 #define strftime_lz		_strftime_lz
675 #define strftime_z		_strftime_z
676 #define strndup			_strndup
677 #define strncasecmp		_strncasecmp
678 #define strptime		_strptime
679 #define strptime_l		_strptime_l
680 #define strsep			_strsep
681 #define strsignal		_strsignal
682 #define strsuftoll	 	_strsuftoll
683 #define strsuftollx	 	_strsuftollx
684 #define strtok_r		_strtok_r
685 #define strnunvisx		_strnunvisx
686 #define strvisx			_strvisx
687 #define strxfrm_l		_strxfrm_l
688 #define svc_auth_reg		_svc_auth_reg
689 #define svc_create		_svc_create
690 #define svc_dg_create		_svc_dg_create
691 #define svc_exit		_svc_exit
692 #define svc_fd_create		_svc_fd_create
693 #define svc_getreq		_svc_getreq
694 #define svc_getreqset		_svc_getreqset
695 #define svc_getreq_common	_svc_getreq_common
696 #define svc_raw_create		_svc_raw_create
697 #define svc_register		_svc_register
698 #define svc_reg			_svc_reg
699 #define svc_run			_svc_run
700 #define svc_sendreply		_svc_sendreply
701 #define svc_tli_create		_svc_tli_create
702 #define svc_tp_create		_svc_tp_create
703 #define svc_unregister		_svc_unregister
704 #define svc_unreg		_svc_unreg
705 #define svc_vc_create		_svc_vc_create
706 #define svcerr_auth		_svcerr_auth
707 #define svcerr_decode		_svcerr_decode
708 #define svcerr_noproc		_svcerr_noproc
709 #define svcerr_noprog		_svcerr_noprog
710 #define svcerr_progvers		_svcerr_progvers
711 #define svcerr_systemerr	_svcerr_systemerr
712 #define svcerr_weakauth		_svcerr_weakauth
713 #define svcfd_create		_svcfd_create
714 #define svcraw_create		_svcraw_create
715 #define svctcp_create		_svctcp_create
716 #define svcudp_bufcreate	_svcudp_bufcreate
717 #define svcudp_create		_svcudp_create
718 #define svcudp_enablecache	_svcudp_enablecache
719 #define sysarch			_sys_sysarch
720 #define swprintf_l		_swprintf_l
721 #define swscanf_l		_swscanf_l
722 #define sysctl			_sysctl
723 #define sysctlbyname		_sysctlbyname
724 #define sysctlgetmibinfo	_sysctlgetmibinfo
725 #define sysctlnametomib		_sysctlnametomib
726 #define syscall			_syscall
727 #define syslog			_syslog
728 #define syslog_r		_syslog_r
729 #define syslog_ss		_syslog_ss
730 #define syslogp			_syslogp
731 #define syslogp_r		_syslogp_r
732 #define syslogp_ss		_syslogp_ss
733 #define taddr2uaddr		_taddr2uaddr
734 #define tcdrain			_tcdrain
735 #define tcflow			_tcflow
736 #define tcflush			_tcflush
737 #define tcgetattr		_tcgetattr
738 #define tcgetpgrp		_tcgetpgrp
739 #define tcgetsid		_tcgetsid
740 #define tcsendbreak		_tcsendbreak
741 #define tcsetattr		_tcsetattr
742 #define tcsetpgrp		_tcsetpgrp
743 #define telldir			_telldir
744 #define time			_time
745 #define time2posix		_time2posix
746 #define timegm			_timegm
747 #define timelocal		_timelocal
748 #define timeoff			_timeoff
749 #define times			_times
750 #define ttyname			_ttyname
751 #define ttyname_r		_ttyname_r
752 #define ttyslot			_ttyslot
753 #define tzname			_tzname
754 #define tzset			_tzset
755 #define tzsetwall		_tzsetwall
756 #define uaddr2taddr		_uaddr2taddr
757 #define ualarm			_ualarm
758 #define uname			_uname
759 #define unsetenv		_unsetenv
760 #define user_from_uid		_user_from_uid
761 #define usleep			_usleep
762 #define utime			_utime
763 #define uuid_create_nil		_uuid_create_nil
764 #define uuid_is_nil		_uuid_is_nil
765 #define valloc			_valloc
766 #define vasprintf		_vasprintf
767 #define vasprintf_l		_vasprintf_l
768 #define	vdprintf		_vdprintf
769 #if __SSP_FORTIFY_LEVEL == 0 && !defined(vsnprintf)
770 #define vsnprintf		_vsnprintf
771 #endif
772 #define vdprintf_l		_vdprintf_l
773 #define vdprintf_l		_vdprintf_l
774 #define vfprintf_l		_vfprintf_l
775 #define vfwprintf_l		_vfwprintf_l
776 #define vprintf_l		_vprintf_l
777 #define vscanf_l		_vscanf_l
778 #define vsscanf_l		_vsscanf_l
779 #define vswscanf_l		_vswscanf_l
780 #define vsnprintf_l		_vsnprintf_l
781 #define vsnprintf_ss		_vsnprintf_ss
782 #define vsprintf_l		_vsprintf_l
783 #define vswprintf_l		_vswprintf_l
784 #define vwprintf_l		_vwprintf_l
785 #define vwscanf_l		_vwscanf_l
786 #define vsyslog			_vsyslog
787 #define vsyslog_r		_vsyslog_r
788 #define vsyslog_ss		_vsyslog_ss
789 #define vsyslogp		_vsyslogp
790 #define vsyslogp_r		_vsyslogp_r
791 #define vsyslogp_ss		_vsyslogp_ss
792 #define wait			_wait
793 #define wait3			_wait3
794 #define wait4			_wait4
795 #define waitid			_waitid
796 #define waitpid			_waitpid
797 #define wcscasecmp		_wcscasecmp
798 #define wcscasecmp_l		_wcscasecmp_l
799 #define wcsdup			_wcsdup
800 #define wcsftime_l		_wcsftime_l
801 #define wcsncasecmp		_wcsncasecmp
802 #define wcsncasecmp_l		_wcsncasecmp_l
803 #define wcstof			_wcstof
804 #define wcstof_l		_wcstof_l
805 #define wcstod			_wcstod
806 #define wcstod_l		_wcstod_l
807 #define wcstold			_wcstold
808 #define wcstold_l		_wcstold_l
809 #define wcwidth			_wcwidth
810 #define wcwidth_l		_wcwidth_l
811 #define wprintf_l		_wprintf_l
812 #define wscanf_l		_wscanf_l
813 #define xdr_accepted_reply	_xdr_accepted_reply
814 #define xdr_array		_xdr_array
815 #define xdr_authunix_parms	_xdr_authunix_parms
816 #define xdr_bool		_xdr_bool
817 #define xdr_bytes		_xdr_bytes
818 #define xdr_callhdr		_xdr_callhdr
819 #define xdr_callmsg		_xdr_callmsg
820 #define xdr_char		_xdr_char
821 #define xdr_datum		_xdr_datum
822 #define xdr_des_block		_xdr_des_block
823 #define xdr_domainname		_xdr_domainname
824 #define xdr_double		_xdr_double
825 #define xdr_enum		_xdr_enum
826 #define xdr_float		_xdr_float
827 #define xdr_free		_xdr_free
828 #define	xdr_hyper		_xdr_hyper
829 #define xdr_int			_xdr_int
830 #define xdr_int16_t		_xdr_int16_t
831 #define xdr_int32_t		_xdr_int32_t
832 #define xdr_int64_t		_xdr_int64_t
833 #define xdr_long		_xdr_long
834 #define	xdr_longlong_t		_xdr_longlong_t
835 #define xdr_mapname		_xdr_mapname
836 #define xdr_netbuf		_xdr_netbuf
837 #define xdr_netobj		_xdr_netobj
838 #define xdr_opaque		_xdr_opaque
839 #define xdr_opaque_auth		_xdr_opaque_auth
840 #define xdr_peername		_xdr_peername
841 #define xdr_pmap		_xdr_pmap
842 #define xdr_pmaplist		_xdr_pmaplist
843 #define xdr_pointer		_xdr_pointer
844 #define xdr_reference		_xdr_reference
845 #define xdr_rejected_reply	_xdr_rejected_reply
846 #define xdr_replymsg		_xdr_replymsg
847 #define xdr_rmtcall_args	_xdr_rmtcall_args
848 #define xdr_rmtcallres		_xdr_rmtcallres
849 #define xdr_rpcb		_xdr_rpcb
850 #define xdr_rpcb_entry		_xdr_rpcb_entry
851 #define xdr_rpcb_entry_list_ptr	_xdr_rpcb_entry_list_ptr
852 #define xdr_rpcb_rmtcallargs	_xdr_rpcb_rmtcallargs
853 #define xdr_rpcb_rmtcallres	_xdr_rpcb_rmtcallres
854 #define xdr_rpcb_stat		_xdr_rpcb_stat
855 #define xdr_rpcb_stat_byvers	_xdr_rpcb_stat_byvers
856 #define xdr_rpcblist		_xdr_rpcblist
857 #define xdr_rpcblist_ptr	_xdr_rpcblist_ptr
858 #define xdr_rpcbs_addrlist	_xdr_rpcbs_addrlist
859 #define xdr_rpcbs_addrlist_ptr	_xdr_rpcbs_addrlist_ptr
860 #define xdr_rpcbs_proc		_xdr_rpcbs_proc
861 #define xdr_rpcbs_rmtcalllist	_xdr_rpcbs_rmtcalllist
862 #define xdr_rpcbs_rmtcalllist_ptr	_xdr_rpcbs_rmtcalllist_ptr
863 #define xdr_rpcbs		_xdr_rpcbs
864 #define xdr_rpcbs		_xdr_rpcbs
865 #define xdr_short		_xdr_short
866 #define xdr_sizeof		_xdr_sizeof
867 #define xdr_string		_xdr_string
868 #define xdr_u_char		_xdr_u_char
869 #define	xdr_u_hyper		_xdr_u_hyper
870 #define xdr_u_int		_xdr_u_int
871 #define xdr_u_int16_t		_xdr_u_int16_t
872 #define xdr_u_int32_t		_xdr_u_int32_t
873 #define xdr_u_int64_t		_xdr_u_int64_t
874 #define xdr_u_long		_xdr_u_long
875 #define	xdr_u_longlong_t	_xdr_u_longlong_t
876 #define xdr_u_short		_xdr_u_short
877 #define xdr_union		_xdr_union
878 #define xdr_vector		_xdr_vector
879 #define xdr_void		_xdr_void
880 #define xdr_wrapstring		_xdr_wrapstring
881 #define xdr_yp_inaddr		_xdr_yp_inaddr
882 #define xdr_ypall		_xdr_ypall
883 #define xdr_ypbind_resp		_xdr_ypbind_resp
884 #define xdr_ypbind_setdom	_xdr_ypbind_setdom
885 #define xdr_ypdomain_wrap_string	_xdr_ypdomain_wrap_string
886 #define xdr_ypmap_parms		_xdr_ypmap_parms
887 #define xdr_ypmap_wrap_string	_xdr_ypmap_wrap_string
888 #define xdr_ypmaplist		_xdr_ypmaplist
889 #define xdr_ypowner_wrap_string _xdr_ypowner_wrap_string
890 #define xdr_yppushresp_xfr	_xdr_yppushresp_xfr
891 #define xdr_ypreq_key		_xdr_ypreq_key
892 #define xdr_ypreq_nokey		_xdr_ypreq_nokey
893 #define xdr_ypreq_xfr		_xdr_ypreq_xfr
894 #define xdr_ypresp_key_val	_xdr_ypresp_key_val
895 #define xdr_ypresp_maplist	_xdr_ypresp_maplist
896 #define xdr_ypresp_master	_xdr_ypresp_master
897 #define xdr_ypresp_order	_xdr_ypresp_order
898 #define xdr_ypresp_val		_xdr_ypresp_val
899 #define xdrmem_create		_xdrmem_create
900 #define xdrrec_create		_xdrrec_create
901 #define xdrrec_endofrecord	_xdrrec_endofrecord
902 #define xdrrec_eof		_xdrrec_eof
903 #define xdrrec_skiprecord	_xdrrec_skiprecord
904 #define xdrstdio_create		_xdrstdio_create
905 #define xprt_register		_xprt_register
906 #define xprt_unregister		_xprt_unregister
907 #define yp_all			_yp_all
908 #define yp_bind			_yp_bind
909 #define yp_first		_yp_first
910 #define yp_get_default_domain	_yp_get_default_domain
911 #define yp_maplist		_yp_maplist
912 #define yp_master		_yp_master
913 #define yp_match		_yp_match
914 #define yp_next			_yp_next
915 #define yp_order		_yp_order
916 #define yp_unbind		_yp_unbind
917 #define yperr_string		_yperr_string
918 #define ypprot_err		_ypprot_err
919 #define yp_setbindtries		_yp_setbindtries
920 #define dl_iterate_phdr		__dl_iterate_phdr
921 #define dlopen			__dlopen
922 #define dlclose			__dlclose
923 #define dlsym			__dlsym
924 #define dlerror			__dlerror
925 #define dladdr			__dladdr
926 #define fmtcheck		__fmtcheck
927 
928 /* RB trees */
929 #define	rb_tree_init		_rb_tree_init
930 #define	rb_tree_find_node	_rb_tree_find_node
931 #define	rb_tree_find_node_geq	_rb_tree_find_node_geq
932 #define	rb_tree_find_node_leq	_rb_tree_find_node_leq
933 #define	rb_tree_insert_node	_rb_tree_insert_node
934 #define	rb_tree_remove_node	_rb_tree_remove_node
935 #define	rb_tree_iterate		_rb_tree_iterate
936 #ifdef RBDEBUG
937 #define	rb_tree_check		_rb_tree_check
938 #define	rb_tree_depths		_rb_tree_depths
939 #endif
940 
941 /* rpc locks */
942 #define authdes_lock		__rpc_authdes_lock
943 #define authnone_lock		__rpc_authnone_lock
944 #define authsvc_lock		__rpc_authsvc_lock
945 #define clnt_fd_lock		__rpc_clnt_fd_lock
946 #define clntraw_lock		__rpc_clntraw_lock
947 #define dname_lock		__rpc_dname_lock
948 #define dupreq_lock		__rpc_dupreq_lock
949 #define keyserv_lock		__rpc_keyserv_lock
950 #define libnsl_trace_lock	__rpc_libnsl_trace_lock
951 #define loopnconf_lock		__rpc_loopnconf_lock
952 #define ops_lock		__rpc_ops_lock
953 #define portnum_lock		__rpc_portnum_lock
954 #define proglst_lock		__rpc_proglst_lock
955 #define rpcbaddr_cache_lock	__rpc_rpcbaddr_cache_lock
956 #define rpcsoc_lock		__rpc_rpcsoc_lock
957 #define svc_fd_lock		__rpc_svc_fd_lock
958 #define svc_lock		__rpc_svc_lock
959 #define svcraw_lock		__rpc_svcraw_lock
960 #define xprtlist_lock		__rpc_xprtlist_lock
961 
962 #define __learn_tree		___learn_tree
963 #endif /* __weak_alias */
964 
965 #endif /* _NAMESPACE_H_ */
966