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.
2002-08-03 Roland McGrath <roland@redhat.com>
+ * include/sys/resource.h: Use libc_hidden_proto for getpriority,
+ 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.
+
* include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr,
execl, execle, execlp, execvp, getpid, getsid.
* sysdeps/generic/alarm.c: Add libc_hidden_def.
+#ifndef _FNMATCH_H
+
#include <posix/fnmatch.h>
+
+libc_hidden_proto (fnmatch)
+
+#endif
#include <malloc/mcheck.h>
libc_hidden_proto (mcheck)
+libc_hidden_proto (mcheck_check_all)
#endif
#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)
#ifndef _SYS_RESOURCE_H
#include <resource/sys/resource.h>
+libc_hidden_proto (getpriority)
+libc_hidden_proto (setpriority)
+
/* Now define the internal interfaces. */
extern int __getrlimit (enum __rlimit_resource __resource,
struct rlimit *__rlimits);
-2002-08-03 Ulrich Drepper <drepper@redhat.com>
-
- * sysdeps/pthread/bits/libc-tsd.h: Add _LIBC_TSD_KEY_LOCALE.
-
2002-08-02 Roland McGrath <roland@redhat.com>
+ * sysdeps/pthread/bits/libc-tsd.h (enum __libc_tsd_key_t):
+ Add _LIBC_TSD_KEY_LOCALE.
+ * manager.c (pthread_start_thread) [!(USE_TLS && HAVE___THREAD)]:
+ Call __uselocale to initialize our per-thread locale pointer to
+ the global one.
+ * pthread.c (__pthread_initialize_minimal): Likewise.
+
* sysdeps/i386/tls.h (TLS_DO_SET_THREAD_AREA): Add missing \s.
2002-08-02 Ulrich Drepper <drepper@redhat.com>
/* Turn checks on again. */
pedantic = 1;
}
+#ifdef _LIBC
+libc_hidden_def (mcheck_check_all)
+#endif
static void unlink_blk __P ((struct hdr *ptr));
static void
/* everything went alright */
return 1;
}
+libc_hidden_def (hcreate_r)
/* After using the hash table it has to be destroyed. The used memory can
/* the sign for an existing table is an value != NULL in htable */
htab->table = NULL;
}
+libc_hidden_def (hdestroy_r)
/* This is the search function. It uses double hashing with open addressing.
-/* Copyright (C) 1991-1993,1996-1999,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991-93,96-99,2000,01,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
strong_alias (__fnmatch, __fnmatch_old)
compat_symbol (libc, __fnmatch_old, fnmatch, GLIBC_2_0);
# endif
+libc_hidden_ver (__fnmatch, fnmatch)
# endif
#endif /* _LIBC or not __GNU_LIBRARY__. */
-/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,96,97,2000,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (getpriority)
stub_warning (getpriority)
#include <stub-tag.h>
-/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,96,97,2000,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (setpriority)
stub_warning (setpriority)
#include <stub-tag.h>
return MACH_PRIORITY_TO_NICE (maxpri);
}
+libc_hidden_def (getpriority)
return err ? __hurd_fail (err) : 0;
}
+libc_hidden_def (setpriority)
-/* Copyright (C) 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1994,96,97,2000,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
__set_errno (EINVAL);
return -1;
}
+libc_hidden_def (getpriority)
/* getpriority for Linux.
- Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996,98,2000,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
res = PZERO - res;
return res;
}
+libc_hidden_def (getpriority)