From 26d7e0d7accf269c15fb4bc23e5e80580bfb7fe3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 24 Apr 2015 15:49:18 +0200 Subject: 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 --- common/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/util.h') 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); -- cgit v1.2.3