summaryrefslogtreecommitdiff
path: root/locale/programs/simple-hash.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-31 18:51:25 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-31 18:51:25 +0000
commitd8cf93f489282ed4dd0b727e9efd9efef192e952 (patch)
tree18872eaa470b0651e1071fb9c2b187cc1745f566 /locale/programs/simple-hash.h
parent3216711f5d4cdfcafd10377f479937cf360e2c69 (diff)
downloadglibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.gz
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/programs/simple-hash.h')
-rw-r--r--locale/programs/simple-hash.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/locale/programs/simple-hash.h b/locale/programs/simple-hash.h
index b72e3acaca..8494cb2638 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 */