]> Savannah Git Hosting - gnulib.git/commit
setlocale-null: Add standalone include file.
authorBruno Haible <bruno@clisp.org>
Sun, 22 Dec 2019 18:34:41 +0000 (19:34 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 22 Dec 2019 18:34:41 +0000 (19:34 +0100)
commitab3c9473eee5516e2425be7ad3ebe1bd16fa725a
treefb3e02cd3c3c060ec2052748b4335c63729ce450
parent74528fe27f84f75ed94b2713b9176a06ebe2cb42
setlocale-null: Add standalone include file.

* lib/setlocale_null.h: New file, extracted from lib/locale.in.h.
* lib/locale.in.h: Include setlocale_null.h.
(SETLOCALE_NULL_MAX, SETLOCALE_NULL_ALL_MAX, setlocale_null_r,
setlocale_null): Remove declarations.
* lib/setlocale_null.c: Include setlocale_null.h.
* lib/localename.c: Likewise.
* modules/setlocale-null (Files): Add lib/setlocale_null.h.
(Depends-on): Add snippet/arg-nonnull.
(Include): Allow either "setlocale_null.h" or <locale.h>.
ChangeLog
lib/locale.in.h
lib/localename.c
lib/setlocale_null.c
lib/setlocale_null.h [new file with mode: 0644]
modules/setlocale-null