Andreas Jaeger
de149cdbaf
Make local functions static.
2000-12-27 20:26:07 +00:00
Andreas Jaeger
784d802ea2
Update.
...
* include/setjmp.h: Likewise.
2000-12-27 20:25:30 +00:00
Andreas Jaeger
ce351e07c9
Update.
...
2000-12-27 Andreas Jaeger <aj@suse.de>
* stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
function.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* locale/programs/locale.c (show_locale_vars): Likewise.
(show_info): Likewise.
* locale/programs/ld-collate.c (collate_output): Likewise.
* locale/programs/ld-ctype.c (set_class_defaults): Likewise.
* elf/dl-deps.c (_dl_map_object_deps): Likewise.
* stdlib/rpmatch.c (rpmatch): Likewise.
* setjmp/tst-setjmp.c: Make local functions static.
* setjmp/jmpbug.c: Likewise.
* signal/tst-signal.c: Likewise.
* stdio-common/tfformat.c: Likewise.
* string/tst-svc.c: Likewise.
* time/clocktest.c: Likewise.
* time/tst-getdate.c: Likewise.
* dirent/list.c: Likewise.
* dirent/opendir-tst1.c: Likewise.
* posix/runtests.c: Likewise.
* posix/tst-getaddrinfo.c: Likewise.
* posix/tst-chmod.c: Likewise.
* posix/wordexp-test.c: Likewise.
* misc/tst-efgcvt.c: Likewise.
* timezone/tst-timezone.c: Likewise.
* rt/tst-clock.c: Likewise.
* rt/tst-shm.c: Likewise.
* rt/tst-aio2.c: Likewise.
* rt/tst-aio3.c: Likewise.
* rt/tst-aio4.c: Likewise.
* rt/tst-aio5.c: Likewise.
* dlfcn/failtest.c: Add prototype for foo.
* dlfcn/glrefmain.c: Add prototype for do_test.
* dlfcn/tst-dladdr.c: Add prototype for do_test.
* string/test-ffs.c (main): Add prototype for nested function.
* sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
* nss/XXX-lookup.c: Add prototype to shut up GCC.
* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
setetherent prototype.
Add internal interfaces.
* nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
* resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
* nis/nis_intern.h: Add prototype for __pmap_getnisport.
* nss/nss_files/files-ethers.c: Include netinet/ether.h to get
prototypes, remove struct etherent since it's declared in ether.h.
Fix ntohost declaration.
* elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
* include/getopt.h: Add internal interfaces.
* include/termios.h: Likewise.
* include/resolv.h: Likewise.
* include/netdb.h: Likewise.
* include/grp.h: Likewise.
* include/pwd.h: Likewise.
* include/shadow.h: Likewise.
* include/rpc/netdb.h: Likewise.
* include/stdio.h: Add prototypes for compatibility functions.
* include/grp.h: Likewise.
* include/pwd.h: Likewise.
* include/shadow.h: Likewise.
* include/fenv.h: Define internal interfaces.
2000-12-27 20:19:23 +00:00
Andreas Jaeger
938c669eb4
* stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
...
function.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* locale/programs/locale.c (show_locale_vars): Likewise.
(show_info): Likewise.
* locale/programs/ld-collate.c (collate_output): Likewise.
* locale/programs/ld-ctype.c (set_class_defaults): Likewise.
* elf/dl-deps.c (_dl_map_object_deps): Likewise.
* stdlib/rpmatch.c (rpmatch): Likewise.
2000-12-27 20:18:52 +00:00
Ulrich Drepper
96749bc273
Update.
...
2000-12-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
argument case separately.
* sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
2000-12-27 20:01:49 +00:00
Ulrich Drepper
3d7f417bde
(__bswap_64): Handle constant argument case separately.
2000-12-27 20:01:21 +00:00
Andreas Jaeger
ed073f0e62
Add prototype for foo.
2000-12-27 19:58:36 +00:00
Andreas Jaeger
27ee0a5595
Update.
...
* include/sys/wait.h: Add some prototypes.
* Rules (dummy.c): Create also prototype to shut up GCC.
2000-12-27 Andreas Jaeger <aj@suse.de>
2000-12-27 17:18:07 +00:00
Andreas Jaeger
a375a533a2
* Examples/ex13.c: Make local functions static.
...
* ecmutex.c: Likewise.
* Examples/ex14.c: Likewise.
* Examples/ex2.c: Make local functions static; reformat.
* Examples/ex1.c: Likewise.
* Examples/ex4.c: Likewise.
* Examples/ex5.c: Likewise.
* Examples/ex7.c: Likewise.
CVS ----------------------------------------------------------------------
2000-12-27 17:14:56 +00:00
Ulrich Drepper
2111285729
Update.
...
* attr.c (__pthread_attr_setstack): Fix setting of __stackaddr element.
(__pthread_attr_getstack): Return correct address.
Add warnings for using pthread_attr_getstackaddr and
2000-12-27 08:33:07 +00:00
Ulrich Drepper
5a7d27d4f9
(__pthread_attr_getstack): Return correct address.
2000-12-27 08:32:00 +00:00
Andreas Jaeger
38eb40ea11
Update.
...
2000-12-27 Andreas Jaeger <aj@suse.de>
* sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
it's not needed at the moment.
* sysdeps/generic/if_index.c (__protocol_available): Likewise.
* sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
2000-12-27 08:14:29 +00:00
Andreas Jaeger
90c00a4c96
(__protocol_available): Uncomment, it's not needed at the moment.
2000-12-27 08:14:22 +00:00
Ulrich Drepper
33c80ad75b
Update.
...
2000-12-27 Ulrich Drepper <drepper@redhat.com>
* attr.c (__pthread_attr_setstack): Fix setting of __stackaddr
element. Add warnings for using pthread_attr_getstackaddr and
pthread_attr_setstackaddr.
2000-12-27 08:05:27 +00:00
Ulrich Drepper
e8a5cd43ab
(__pthread_attr_setstack): Fix setting of __stackaddr element. Add warnings for using pthread_attr_getstackaddr and pthread_attr_setstackaddr.
2000-12-27 08:05:00 +00:00
Andreas Jaeger
03bac9acad
Update.
...
2000-12-26 Andreas Jaeger <aj@suse.de>
* libio/getc_u.c: Include stdio.h via system path to get internal
prototypes.
* libio/getwc_u.c: Likewise.
* stdlib/strfmon.c: Fix prototype of __printf_fp.
* stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
__printf_fp prototypes to ...
* include/printf.h: ...here.
* include/stdio.h: Add some internal prototypes to shut up GCC.
* include/stdlib.h: Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
declaration.
* include/signal.h: Add prototypes for internal sigpause
interfaces.
2000-12-27 07:56:28 +00:00
Andreas Jaeger
8001fa6014
Add prototypes for internal sigpause interfaces.
2000-12-27 07:54:56 +00:00
Ulrich Drepper
a6d950b914
Update.
...
2000-12-26 Ulrich Drepper <drepper@redhat.com>
* Examples/ex6.c (test_thread): Make static.
* Examples/ex12.c (test_thread): Make static and add noreturn
attribute.
2000-12-27 06:53:38 +00:00
Ulrich Drepper
fc1fb585c6
Update.
...
* string/Makefile (tests): Add tst-bswap.
* string/tst-bswap.c: New file.
2000-12-27 04:41:52 +00:00
Ulrich Drepper
945c975dff
Update.
...
2000-12-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
2000-12-27 04:24:10 +00:00
Ulrich Drepper
be76803a73
Update.
...
2000-12-11 Bruno Haible <haible@clisp.cons.org>
* Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
2000-12-26 Ulrich Drepper <drepper@redhat.com>
* sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
Patch by Ed Connell <Ed.Connell@sas.com>.
2000-12-27 03:30:43 +00:00
Ulrich Drepper
214414c897
Upda.te
...
2000-12-24 Ulrich Drepper <drepper@redhat.com>
* locale/iso-639.def: Correct one entry. Add two missing entries.
* locale/iso-4217.def: Change entry for Eritrea.
Reported by Daniel Yacob <yacob@geez.org>.
2000-12-25 01:11:15 +00:00
Ulrich Drepper
640a3be10f
Update.
...
2000-12-23 Ben Collins <bcollins@debian.org>
* manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
description.
* manual/stdio.texi (Dynamic Output): Document the return value of
asprintf. Also make the asprintf/snprintf examples a little
better (check for some error returns).
2000-12-25 00:51:33 +00:00
Ulrich Drepper
7ba73c63c0
(Dynamic Output): Document the return value of asprintf. Also make the asprintf/snprintf examples a little better (check for some error returns).
2000-12-25 00:44:08 +00:00
Andreas Jaeger
b708b1ca77
Update.
...
2000-12-22 Andreas Jaeger <aj@suse.de>
* include/stdio.h: Add __ftrylockfile prototype.
2000-12-22 09:00:20 +00:00
Andreas Jaeger
dd04074742
Add __ftrylockfile prototype.
2000-12-22 09:00:17 +00:00
Ulrich Drepper
912f97da3d
Update.
...
2000-12-21 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
Make sign_exponent element signed.
* sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
Fix a typo.
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2000-12-21 23:42:32 +00:00
Ulrich Drepper
4260c4120a
Fix a typo.
2000-12-21 23:30:28 +00:00
Andreas Jaeger
cc657ce583
Update.
...
2000-12-21 Andreas Jaeger <aj@suse.de>
* nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
* inet/ether_hton.c: Likewise
* inet/ether_ntoh.c: Likewise.
* nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
declaration to match prototype.
* include/netinet/ether.h (struct etherent): Declare here so that
all implementations use the same struct.
* nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
prototypes.
(struct ether): Removed.
Use struct etherent instead of ether everywhere.
* include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
* include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
* sunrpc/publickey.c: Include auth_des.h for prototypes.
* test-skeleton.c: Use temp_name_list instead of name_list to
2000-12-21 17:24:40 +00:00
Andreas Jaeger
6b083d46e4
* nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
...
* inet/ether_hton.c: Likewise
* inet/ether_ntoh.c: Likewise.
* nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
declaration to match prototype.
* include/netinet/ether.h (struct etherent): Declare here so that
all implementations use the same struct.
* nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
prototypes.
(struct ether): Removed.
Use struct etherent instead of ether everywhere.
* include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
* include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
* sunrpc/publickey.c: Include auth_des.h for prototypes.
2000-12-21 14:38:26 +00:00
Ulrich Drepper
e3bb40e6bf
Add test for nextafter and 0.0.
2000-12-21 08:09:22 +00:00
Ulrich Drepper
ddc3ed9d3d
Update.
...
2000-12-20 Ulrich Drepper <drepper@redhat.com>
* math/test-misc.c: Add more tests for nextafter functions.
* sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
normal correctly. Correct test for sign.
Based on a patch by HJ Lu.
2000-12-21 04:17:49 +00:00
Ulrich Drepper
0a4c7b18e2
Update.
...
2000-12-19 Ulrich Drepper <drepper@redhat.com>
* Makeconfig (preprocess-version): Add -traditional to gcc call.
Cleanup sed calls.
2000-12-20 00:40:36 +00:00
Ulrich Drepper
60289c2381
(preprocess-version): Add -traditional to gcc call. Cleanup sed calls.
2000-12-20 00:40:12 +00:00
Andreas Jaeger
7d2d622a4e
(_nss_nis_setrpcent): Fix declaration to match prototype.
2000-12-19 10:06:29 +00:00
Andreas Jaeger
6c9914d8e1
Update.
...
2000-12-19 Andreas Jaeger <aj@suse.de>
* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
* nis/nis_intern.h: Add prototype for __do_niscall3.
* nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
match prototype.
* include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
* include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
* include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2000-12-19 09:51:05 +00:00
Andreas Jaeger
23bab906b8
* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
...
* nis/nis_intern.h: Add prototype for __do_niscall3.
* nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
match prototype.
* include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
* include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
* include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2000-12-19 09:50:44 +00:00
Ulrich Drepper
244cd53119
Fix typos in strings.
2000-12-19 05:48:11 +00:00
Ulrich Drepper
cc46d0cfcf
Update.
...
* math/test-misc.c: Add more tests for nextafter.
* sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
* sysdeps/ieee754/ldbl-96/math_ldbl.h
(ieee_long_double_shape_type): Make sign_exponent element signed.
2000-12-19 05:07:31 +00:00
Ulrich Drepper
aa9e3c3940
Update.
...
* manual/message.texi: Add Estonian to plural overview list.
Correct rule for Slavic languages.
Patch by Stanislav Brabec <utx@penguin.cz>.
2000-12-19 00:53:04 +00:00
Ulrich Drepper
ba908190d7
Update.
...
2000-12-18 Jes Sorensen <jes@linuxcare.com>
* linuxthreads/sysdeps/ia64/pt-machine.h: __compare_and_swap
and compare_and_swap_with_release_semantics returns int not long.
2000-12-18 22:36:28 +00:00
Ulrich Drepper
9b4b880b41
Update.
...
2000-12-18 Ulrich Drepper <drepper@redhat.com>
* nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2000-12-18 17:22:27 +00:00
Ulrich Drepper
642c047658
Remove unnecessary initializations.
2000-12-18 17:22:03 +00:00
Andreas Jaeger
51eecc4aff
Update.
...
2000-12-18 Andreas Jaeger <aj@suse.de>
* test-skeleton.c: Use temp_name_list instead of temp_name_list to
avoid collision with name_list from inet/netgroup.h.
* nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
* include/grp.h (DECLARE_NSS_PROTOTYPES): New.
* include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
* include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
* include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
* hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
declaration to match prototype.
* hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
* hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
Likewise.
* nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
* nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
* nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
* nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
(_nss_nis_getservbyport_r): Likewise.
* nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
* nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
* nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
(_nss_nis_setnetent): Likewise
* nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
(_nss_nis_endnetgrent): Likewise.
* nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
Likewise.
(_nss_nisplus_setnetgrent): Likewise.
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
* nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
* nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
Likewise.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
Likewise.
* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
Likewise.
* nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
Likewise.
* nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
* nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
* nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
(_nss_dns_getnetbyaddr_r): Likewise.
2000-12-18 16:40:40 +00:00
Andreas Jaeger
8cb019ed77
Update.
...
2000-12-17 Andreas Jaeger <aj@suse.de>
* sysdeps/s390/pt-machine.h (testandset): Use long int as return
value.
* sysdeps/arm/pt-machine.h (testandset): Likewise.
* sysdeps/hppa/pt-machine.h (testandset): Likewise.
* sysdeps/m68k/pt-machine.h (testandset): Likewise.
* sysdeps/sh/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc32/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc64/pt-machine.h (testandset): Likewise.
2000-12-18 05:55:51 +00:00
Andreas Jaeger
308afe5f2b
* sysdeps/s390/pt-machine.h (testandset): Use long int as return
...
value.
* sysdeps/arm/pt-machine.h (testandset): Likewise.
* sysdeps/hppa/pt-machine.h (testandset): Likewise.
* sysdeps/m68k/pt-machine.h (testandset): Likewise.
* sysdeps/sh/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc32/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc64/pt-machine.h (testandset): Likewise.
2000-12-18 05:55:14 +00:00
Ulrich Drepper
927a8431da
Update.
...
2000-12-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/pt-machine.h (testandset): Adjust for prototype change.
* sysdeps/i386/i686/pt-machine.h (testandset): Likewise.
2000-12-17 21:48:43 +00:00
Ulrich Drepper
79f757a42a
(testandset): Adjust for prototype change.
2000-12-17 21:48:10 +00:00
Andreas Jaeger
b6e2071240
Update.
...
* sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
parameter.
* sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
unused attribute to shut up gcc warnings.
* sysdeps/generic/k_sinl.c: Include math_private for prototypes.
* sysdeps/generic/k_tanl.c: Likewise.
* sysdeps/generic/k_cosl.c: Likewise.
* sysdeps/generic/e_j0l.c: Likewise.
* sysdeps/generic/e_j1l.c: Likewise.
* sysdeps/generic/e_jnl.c: Likewise.
* sysdeps/generic/e_lgammal_r.c: Likewise.
2000-12-17 18:12:07 +00:00
Andreas Jaeger
5c80f57cfc
Update.
...
* elf/neededobj1.c: Likewise.
* elf/neededobj2.c: Likewise.
* elf/neededobj3.c: Likewise.
* elf/neededobj4.c: Likewise.
* elf/nextmod1.c: Likewise.
* elf/nextmod2.c: Likewise.
2000-12-17 17:50:56 +00:00