X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/20ccae8dbb8d92a6a32e0275c517f70961c6b833..1cd4fffcde4edd4853e039da9a42e0972d851a51:/lib/locale.in.h diff --git a/lib/locale.in.h b/lib/locale.in.h index 6d7ab481f..ff661dc0c 100644 --- a/lib/locale.in.h +++ b/lib/locale.in.h @@ -34,6 +34,8 @@ # include #endif +/* The definition of _GL_ARG_NONNULL is copied here. */ + /* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C. On systems that don't define it, use the same value as GNU libintl. */ #if !defined LC_MESSAGES @@ -44,7 +46,7 @@ # if @REPLACE_DUPLOCALE@ # undef duplocale # define duplocale rpl_duplocale -extern locale_t duplocale (locale_t locale); +extern locale_t duplocale (locale_t locale) _GL_ARG_NONNULL ((1)); # endif #elif defined GNULIB_POSIXCHECK # undef duplocale