mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
1999-12-13 Andreas Jaeger <aj@suse.de> * resolv/resolv.h: Remove K&R compatibility. * resolv/res_libc.c: Move definition of _res after res_init, res_init should use the threaded specific context. * resolv/Makefile (+cflags): Remove -Wno-comment since it's not needed anymore. * locale/langinfo.h: Add constants for wide character collation data. * locale/categories.def: Add appropriate entries for collate entries. * locale/C-collate.c: Add initializers for new entries. * locale/programs/ld-collate.c: Implement output of wide character tables. * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to compute wide character table size a bit: it now gives up a bit of total table size for fewer levels.
This commit is contained in:
@ -38,9 +38,6 @@ static const char rcsid[] = "$Id$";
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#undef _res
|
||||
|
||||
struct __res_state _res;
|
||||
|
||||
/* This is the old res_init function. It has been moved from
|
||||
res_data.c to this file since res_init should go into libc.so but
|
||||
@ -90,6 +87,11 @@ res_init(void) {
|
||||
/* We need a resolver context - in unthreaded apps, this weak function
|
||||
provides it. */
|
||||
|
||||
#undef _res
|
||||
|
||||
struct __res_state _res;
|
||||
|
||||
|
||||
struct __res_state *
|
||||
weak_const_function
|
||||
__res_state(void)
|
||||
|
Reference in New Issue
Block a user