diff options
Diffstat (limited to 'include/nl_types.h')
-rw-r--r-- | include/nl_types.h | 13 |
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 |