Commit Graph

6373 Commits

Author SHA1 Message Date
Andreas Jaeger
e4aced47ae Update.
* posix/bsd-getpgrp.c: Add prototype to avoid warning.

	* sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.

	* sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.

	* include/rpc/rpc_msg.h: Add prototypes for some functions.
	* include/rpc/auth.h: Likewise.
	* include/rpc/auth_des.h: Likewise.
	* include/rpc/clnt.h: Likewise.
	* include/rpc/rpc.h: Likewise.
	* include/rpc/svc.h: Likewise.
	* include/rpc/svc_auth.h: Likewise.

	* include/rpc/des_crypt.h: New file.
2000-12-31 15:34:47 +00:00
Andreas Jaeger
a2e48a256a Update.
2000-12-31  Andreas Jaeger  <aj@suse.de>

	* malloc/memusagestat.c (main): Use return instead of exit to
	avoid warning.
	* io/pwd.c (main): Likewise.
	* iconvdata/tst-table-from.c (main): Likewise.
	* ctype/test_ctype.c (main): Likewise.
	* setjmp/tst-setjmp.c (main): Likewise.
	* signal/tst-signal.c (main): Likewise.
	* stdlib/tst-strtol.c (main): Likewise.
	* stdlib/tst-strtod.c (main): Likewise.
	* stdlib/tst-strtoll.c (main): Likewise.
	* stdlib/tst-xpg-basename.c (main): Likewise.
	* dirent/tst-seekdir.c (main): Likewise.
	* grp/testgrp.c (main): Likewise.
	* inet/test_ifindex.c (main): Likewise.
	* io/test-utime.c (main): Likewise.
	* posix/test-vfork.c (main): Likewise.
	* posix/testfnm.c (main): Likewise.
	* stdio-common/temptest.c (main): Likewise.
	* stdio-common/test_rdwr.c (main): Likewise.
	* stdio-common/tst-fileno.c (main): Likewise.
	* stdio-common/tst-sscanf.c (main): Likewise.
	* stdio-common/tstscanf.c (main): Likewise.
	* string/bug-strncat1.c (main): Likewise.
	* string/bug-strpbrk1.c (main): Likewise.
	* string/bug-strspn1.c (main): Likewise.
	* string/test-ffs.c (main): Likewise.
	* string/tst-inlcall.c (main): Likewise.
	* string/tst-svc.c (main): Likewise.
	* timezone/test-tz.c (main): Likewise.
	* wctype/test_wcfuncs.c (main): Likewise.
	* wctype/test_wctype.c (main): Likewise.

	* stdlib/tst-random.c: Add attribute noreturn to fail.
2000-12-31 10:52:40 +00:00
Andreas Jaeger
bf4de8f367 * malloc/memusagestat.c (main): Use return instead of exit to
avoid warning. 
* io/pwd.c (main): Likewise. 
* iconvdata/tst-table-from.c (main): Likewise. 
* ctype/test_ctype.c (main): Likewise. 
* setjmp/tst-setjmp.c (main): Likewise. 
* signal/tst-signal.c (main): Likewise. 
* stdlib/tst-strtol.c (main): Likewise. 
* stdlib/tst-strtod.c (main): Likewise. 
* stdlib/tst-strtoll.c (main): Likewise. 
* stdlib/tst-xpg-basename.c (main): Likewise. 
* dirent/tst-seekdir.c (main): Likewise. 
* grp/testgrp.c (main): Likewise. 
* inet/test_ifindex.c (main): Likewise. 
* io/test-utime.c (main): Likewise. 
* posix/test-vfork.c (main): Likewise. 
* posix/testfnm.c (main): Likewise. 
* stdio-common/temptest.c (main): Likewise. 
* stdio-common/test_rdwr.c (main): Likewise. 
* stdio-common/tst-fileno.c (main): Likewise. 
* stdio-common/tst-sscanf.c (main): Likewise. 
* stdio-common/tstscanf.c (main): Likewise. 
* string/bug-strncat1.c (main): Likewise. 
* string/bug-strpbrk1.c (main): Likewise. 
* string/bug-strspn1.c (main): Likewise. 
* string/test-ffs.c (main): Likewise. 
* string/tst-inlcall.c (main): Likewise. 
* string/tst-svc.c (main): Likewise. 
* timezone/test-tz.c (main): Likewise. 
* wctype/test_wcfuncs.c (main): Likewise. 
* wctype/test_wctype.c (main): Likewise.
	* stdlib/tst-random.c: Add attribute noreturn to fail.
2000-12-31 10:52:32 +00:00
Ulrich Drepper
41b64fc4c1 Update.
2000-12-31  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/powerpc/pspinlock.c: Don't include pt-machine.h here.

	* manager.c (pthread_allocate_stack): Prepare for removal of MAP_FIXED.
2000-12-31 08:26:04 +00:00
Ulrich Drepper
09f5e1635a Update.
2000-12-28  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (MALLOC_COPY): Handle case if source and
	destination overlap.  Assume dest is always below source if
	overlapping.
2000-12-31 07:39:50 +00:00
Ulrich Drepper
c77a447822 Update.
2000-12-30  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
	object was not yet initialized.

2000-12-28  H.J. Lu  <hjl@gnu.org>

	* elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
	is always consistent even if its dependency is failed.

	* elf/dl-open.c (_dl_open): Increment the open count before
	calling _dl_close () in case of failure.

	* elf/neededtest4.c: New file.
	* elf/neededobj5.c: New file.
	* elf/neededobj6.c: New file.

	* elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
	(tests): Add neededtest4.
	(modules-names): Add neededobj5 and neededobj6.
	($(objpfx)neededobj6.so): New target.
	($(objpfx)neededtest4): New target.
	($(objpfx)neededtest4.out): New target.
2000-12-31 06:09:08 +00:00
Ulrich Drepper
d9af88677f Update.
2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>

	* misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
	* stdlib/monetary.h: Add strfmon format attributes.
2000-12-29 22:21:02 +00:00
Ulrich Drepper
66e23ba14b (__attribute_format_strfmon__): Define. 2000-12-29 22:19:07 +00:00
Roland McGrath
547d4019fa * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
__mempcpy does it for us.
2000-12-28 20:44:54 +00:00
Roland McGrath
f75ff470b7 2000-12-28 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
	__mempcpy does it for us.
2000-12-28 20:44:11 +00:00
Andreas Jaeger
e9ffd39f8c Update. 2000-12-28 15:08:51 +00:00
Andreas Jaeger
dde52fca48 Update.
* sysdeps/generic/dl-environ.c: Add prototype for unsetenv.

	* sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
	__new_setrlimit.

	* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
	__old_getrlimit64.

	* sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
	__new_getrlimit.

	* sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
	__chown_is_lchown and __real_chown.
2000-12-28 14:22:22 +00:00
Andreas Jaeger
8da8e2dbd2 Update.
* sysdeps/generic/ldsodefs.h: Add noreturn attribute to
	_dl_reloc_bad_type.
2000-12-28 10:35:17 +00:00
Andreas Jaeger
11e0f1cf9e Update.
2000-12-28  Andreas Jaeger  <aj@suse.de>

	* sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
	up GCC's warning about "deprecated use of label at end of compound
	statement."
	* sunrpc/rpc_cout.c (emit_inline): Likewise.

	* include/argp.h (_argp_unlock_xxx): Add declaration.

	* gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
	prototypes.
	Remove struct bb and __bb_head since those are declared by
	sys/gmon.h.
2000-12-28 10:21:29 +00:00
Andreas Jaeger
01f8c9f234 Update.
2000-12-22  Ben Collins  <bcollins@debian.org>

	* manual/charset.texi: Fix typo in description of WCHAR_MAX.

	* manual/argp.texi: Document argp_domain as part of struct argp.
2000-12-28 08:40:59 +00:00
Andreas Jaeger
a2820ec41f Update.
* catgets/Makefile (generated): Add sample.SJIS.cat.
2000-12-28 08:35:40 +00:00
Andreas Jaeger
12f942cdac Update.
* sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
2000-12-28 08:28:43 +00:00
Andreas Jaeger
728c24ff87 Update.
* elf/dl-minimal.c: Add prototypes.

	* include/locale.h: Add internal prototypes.
	* include/sys/gmon.h: Likewise.
2000-12-28 07:58:08 +00:00
Andreas Jaeger
a7cfa34189 Update.
2000-12-28  Andreas Jaeger  <aj@suse.de>

	* dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
2000-12-28 06:58:51 +00:00
Andreas Jaeger
e67c5966ba Add prototype for foo to shut up GCC. 2000-12-28 06:57:34 +00:00
Ulrich Drepper
7231f6f940 Update.
2000-12-27  Ben Collins  <bcollins@debian.org>

	* elf/dl-open.c (_dl_open): Correctly set the new objname pointer
	when reallocating the error strings.
	Reported by Kalle Olavi Niemitalo <kon@iki.fi>
2000-12-28 04:19:14 +00:00
Ulrich Drepper
f116c77f7b Update.
* dlfcn/Makefile (tests): Add errmsg1.
	(modules-names): Add errmsg1mod.
	Add rules to run errmsg1.
	* dlfcn/errmsg1.c: New file.
	* dlfcn/errmsg1mod.c: New file.
2000-12-28 03:59:21 +00:00
Ulrich Drepper
9c99fa3d31 Update.
* dlfcn/dlerror.c (dlerror): Always create output string which
	includes object file name.
2000-12-28 00:48:48 +00:00
Ulrich Drepper
bb548f63d5 Update.
2000-12-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
	if we would go through it only once.
	Patch by Rick Gorton <rick.gorton@api-networks.com>.

	* sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
	Patch by Richard Henderson <rth@redhat.com>.

2000-12-27  Jakub Jelinek  <jakub@redhat.com>

	* malloc/malloc.c (memmove): Add prototypes.
	(MALLOC_MEMMOVE): Define.
	(chunk_realloc): Use it instead of MALLOC_COPY if source and
	destination might overlap.
2000-12-27 23:38:53 +00:00
Ulrich Drepper
5fba3e5e3c (memmove): Add prototypes. (MALLOC_MEMMOVE): Define. (chunk_realloc): Use it instead of MALLOC_COPY if source and destination might overlap. 2000-12-27 23:27:22 +00:00
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