aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/langinfo.h2
-rw-r--r--locale/localeconv.c4
-rw-r--r--locale/programs/simple-hash.h25
3 files changed, 16 insertions, 15 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h
index 8ba42fa036..69341223cb 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 06f12dbfaf..9b8061ad1c 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 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 */