Flag the L_() function with attribute format_arg.
authorWerner Koch <wk@gnupg.org>
Tue, 30 Jun 2015 20:28:41 +0000 (22:28 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 30 Jun 2015 20:28:41 +0000 (22:28 +0200)
commit232af382e563fcbe15589a3ccae7d6908a17c44d
treedae4d92d1224900f5a15643e192fc352326cfd2b
parente76d4c05b24211f3981ab69cddb3fccc17d21e0e
Flag the L_() function with attribute format_arg.

* agent/agent.h (LunderscorePROTO): New.
* common/util.h (GNUPG_GCC_ATTR_FORMAT_ARG): New.
* common/i18n.h (GNUPG_GCC_ATTR_FORMAT_ARG): New. Use for
i18n_localegettext.  Expand LunderscorePROTO.
* agent/genkey.c (check_passphrase_constraints): Use xtryasprintf
again to keep the old translations.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/agent.h
agent/genkey.c
common/i18n.h
common/util.h