summaryrefslogtreecommitdiffstats
path: root/common/homedir.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-04-24 15:49:18 +0200
committerWerner Koch <wk@gnupg.org>2015-04-24 16:10:47 +0200
commit26d7e0d7accf269c15fb4bc23e5e80580bfb7fe3 (patch)
tree3cec75e92b9af25ac5851cd02e9f610ff678a542 /common/homedir.c
parentcommon: Remove two JNLIB_ macros (jnlib merge). (diff)
downloadgnupg2-26d7e0d7accf269c15fb4bc23e5e80580bfb7fe3.tar.xz
gnupg2-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 <wk@gnupg.org>
Diffstat (limited to 'common/homedir.c')
-rw-r--r--common/homedir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/homedir.c b/common/homedir.c
index e3efcee7b..8c73e99e0 100644
--- a/common/homedir.c
+++ b/common/homedir.c
@@ -268,7 +268,7 @@ check_portable_app (const char *dir)
{
unsigned int flags;
log_get_prefix (&flags);
- log_set_prefix (NULL, (flags | JNLIB_LOG_NO_REGISTRY));
+ log_set_prefix (NULL, (flags | GPGRT_LOG_NO_REGISTRY));
}
/* FIXME: We should read the file to detect special flags
and print a warning if we don't understand them */