diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 18:51:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 18:51:25 +0000 |
commit | d8cf93f489282ed4dd0b727e9efd9efef192e952 (patch) | |
tree | 18872eaa470b0651e1071fb9c2b187cc1745f566 /locale | |
parent | 3216711f5d4cdfcafd10377f479937cf360e2c69 (diff) | |
download | glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.zip glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.gz glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.bz2 |
Update.
1999-12-31 Andreas Jaeger <aj@suse.de>
* libio/strfile.h: Remove K&R compatibility.
* locale/langinfo.h: Likewise.
* locale/localeconv.c (localeconv): Likewise.
* locale/programs/simple-hash.h: Likewise.
* nis/nis_xdr.h: Likewise.
* nis/rpcsvc/nislib.h: Likewise.
* nis/rpcsvc/nis_callback.h: Likewise.
* nis/rpcsvc/nis.h: Likewise.
* nis/ypclnt.c: Likewise.
* nscd/nscd_proto.h: Likewise.
* nscd/nscd.c: Likewise.
* sysdeps/generic/inttypes.h: Likewise.
* sysdeps/gnu/utmpx.h: Likewise.
* nis/nis_intern.h: Remove K&R compatibility; add missing ints.
* sunrpc/rpcsvc/rusers.x: Likewise.
* nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
* elf/dl-misc.c: Remove __libc_write prototype since it's already
in include/unistd.h.
* elf/dl-profile.c: Likewise.
* elf/dl-load.c: Likewise for __libc_read.
* elf/dl-profile.c: Remove __P.
* elf/sprof.c: Likewise.
* elf/sln.c: Likewise.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/langinfo.h | 2 | ||||
-rw-r--r-- | locale/localeconv.c | 4 | ||||
-rw-r--r-- | locale/programs/simple-hash.h | 25 |
3 files changed, 16 insertions, 15 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h index 8ba42fa..6934122 100644 --- a/locale/langinfo.h +++ b/locale/langinfo.h @@ -474,7 +474,7 @@ enum The string returned will not change until `setlocale' is called; it is usually in read-only memory and cannot be modified. */ -extern char *nl_langinfo __P ((nl_item __item)); +extern char *nl_langinfo (nl_item __item) __THROW; __END_DECLS diff --git a/locale/localeconv.c b/locale/localeconv.c index 06f12db..9b8061a 100644 --- a/locale/localeconv.c +++ b/locale/localeconv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1995, 1997, 1999 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 @@ -21,7 +21,7 @@ /* Return monetary and numeric information about the current locale. */ struct lconv * -localeconv __P ((void)) +localeconv (void) { static struct lconv result; diff --git a/locale/programs/simple-hash.h b/locale/programs/simple-hash.h index b72e3ac..8494cb2 100644 --- a/locale/programs/simple-hash.h +++ b/locale/programs/simple-hash.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.org>, 1995. @@ -33,18 +33,19 @@ typedef struct hash_table hash_table; -extern int init_hash __P ((hash_table *htab, unsigned long int init_size)); -extern int delete_hash __P ((hash_table *htab)); -extern int insert_entry __P ((hash_table *htab, const void *key, size_t keylen, - void *data)); -extern int find_entry __P ((hash_table *htab, const void *key, size_t keylen, - void **result)); -extern int set_entry __P ((hash_table *htab, const void *key, size_t keylen, - void *newval)); +extern int init_hash (hash_table *htab, unsigned long int init_size) __THROW; +extern int delete_hash (hash_table *htab) __THROW; +extern int insert_entry (hash_table *htab, const void *key, size_t keylen, + void *data) __THROW; +extern int find_entry (hash_table *htab, const void *key, size_t keylen, + void **result) __THROW; +extern int set_entry (hash_table *htab, const void *key, size_t keylen, + void *newval) __THROW; -extern int iterate_table __P ((hash_table *htab, void **ptr, - const void **key, size_t *keylen, void **data)); +extern int iterate_table (hash_table *htab, void **ptr, + const void **key, size_t *keylen, void **data) + __THROW; -extern unsigned long int next_prime __P ((unsigned long int seed)); +extern unsigned long int next_prime (unsigned long int seed) __THROW; #endif /* simple-hash.h */ |