mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 11:41:07 +00:00
a14f26ef69
setpriority. * sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. * sysdeps/mach/hurd/setpriority.c: Likewise. * sysdeps/mach/hurd/getpriority.c: Likewise. * sysdeps/generic/setpriority.c: Likewise. * sysdeps/generic/getpriority.c: Likewise. * include/mcheck.h: Use libc_hidden_proto for mcheck_check_all. * malloc/mcheck.c: Add libc_hidden_def. * include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r. * misc/hsearch_r.c: Add libc_hidden_def. * include/fnmatch.h: Use libc_hidden_proto for fnmatch. * posix/fnmatch.c: Add libc_hidden_weak.
20 lines
641 B
C
20 lines
641 B
C
#ifndef _SEARCH_H
|
|
#include <misc/search.h>
|
|
|
|
libc_hidden_proto (hcreate_r)
|
|
libc_hidden_proto (hdestroy_r)
|
|
libc_hidden_proto (hsearch_r)
|
|
libc_hidden_proto (lfind)
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern void __hdestroy (void);
|
|
extern void *__tsearch (__const void *__key, void **__rootp,
|
|
__compar_fn_t compar);
|
|
extern void *__tfind (__const void *__key, void *__const *__rootp,
|
|
__compar_fn_t compar);
|
|
extern void *__tdelete (__const void *__key, void **__rootp,
|
|
__compar_fn_t compar);
|
|
extern void __twalk (__const void *__root, __action_fn_t action);
|
|
extern void __tdestroy (void *__root, __free_fn_t freefct);
|
|
#endif
|