diff options
author | Werner Koch <[email protected]> | 2015-04-24 13:49:18 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-04-24 14:10:47 +0000 |
commit | 26d7e0d7accf269c15fb4bc23e5e80580bfb7fe3 (patch) | |
tree | 3cec75e92b9af25ac5851cd02e9f610ff678a542 /common/util.h | |
parent | common: Remove two JNLIB_ macros (jnlib merge). (diff) | |
download | gnupg-26d7e0d7accf269c15fb4bc23e5e80580bfb7fe3.tar.gz gnupg-26d7e0d7accf269c15fb4bc23e5e80580bfb7fe3.zip |
common: Rename log and gcc attribute macros (jnlib merge).
* common/logging.h: Rename JNLIB_LOG_* to GPGRT_LOG_*.
* common/mischelp.h: Rename JNLIB_GCC_* to GPGRT_GCC_*.
--
JNLIB has no more meaning. Thus we switch to a GPGRT_ prefix in
anticipation that some code may eventually be moved to libgpg-error.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/util.h b/common/util.h index d22820d86..89f8bf28c 100644 --- a/common/util.h +++ b/common/util.h @@ -363,9 +363,9 @@ const char *gnupg_messages_locale_name (void); void setup_libgcrypt_logging (void); /* Same as estream_asprintf but die on memory failure. */ -char *xasprintf (const char *fmt, ...) JNLIB_GCC_A_PRINTF(1,2); +char *xasprintf (const char *fmt, ...) GPGRT_GCC_A_PRINTF(1,2); /* This is now an alias to estream_asprintf. */ -char *xtryasprintf (const char *fmt, ...) JNLIB_GCC_A_PRINTF(1,2); +char *xtryasprintf (const char *fmt, ...) GPGRT_GCC_A_PRINTF(1,2); /* Replacement for gcry_cipher_algo_name. */ const char *gnupg_cipher_algo_name (int algo); |