summaryrefslogtreecommitdiff
path: root/include/nl_types.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-04 22:52:26 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-04 22:52:26 +0000
commit005d20f04dff3665c9533417bdad06d7d208bf9a (patch)
treebfe0aa8c46149f67794cd45a4fdb259c57b521cf /include/nl_types.h
parentd8059900ddf188607828b12a174b83decade3d61 (diff)
Sync up w/ glibc
Diffstat (limited to 'include/nl_types.h')
-rw-r--r--include/nl_types.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/nl_types.h b/include/nl_types.h
index 65b7d9e47..74e762113 100644
--- a/include/nl_types.h
+++ b/include/nl_types.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1999, 2003, 2004 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
@@ -40,16 +40,19 @@ typedef void *nl_catd;
/* Type used by `nl_langinfo'. */
typedef int nl_item;
-/* Open message catalog for later use, returning descriptor. */
-extern nl_catd catopen (__const char *__cat_name, int __flag) __THROW;
+/* Open message catalog for later use, returning descriptor.
+
+ This function is a possible cancellation point and therefore not
+ marked with __THROW. */
+extern nl_catd catopen (__const char *__cat_name, int __flag) __nonnull ((1));
/* Return translation with NUMBER in SET of CATALOG; if not found
return STRING. */
extern char *catgets (nl_catd __catalog, int __set, int __number,
- __const char *__string) __THROW;
+ __const char *__string) __THROW __nonnull ((1));
/* Close message CATALOG. */
-extern int catclose (nl_catd __catalog) __THROW;
+extern int catclose (nl_catd __catalog) __THROW __nonnull ((1));
__END_DECLS