aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/dotlock.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/common/dotlock.c b/common/dotlock.c
index 19611ab7a..247eb9100 100644
--- a/common/dotlock.c
+++ b/common/dotlock.c
@@ -187,8 +187,6 @@
DOTLOCK_USE_PTHREAD - Define if POSIX threads are in use.
- DOTLOCK_GLIB_LOGGING - Define this to use Glib logging functions.
-
DOTLOCK_EXT_SYM_PREFIX - Prefix all external symbols with the
string to which this macro evaluates.
@@ -304,10 +302,6 @@
# include <pthread.h>
#endif
-#ifdef DOTLOCK_GLIB_LOGGING
-# include <glib.h>
-#endif
-
#ifdef GNUPG_MAJOR_VERSION
# include "util.h"
# include "common-defs.h"
@@ -359,16 +353,6 @@
# define my_error_2(a,b,c) log_error ((a), (b), (c))
# define my_debug_1(a,b) log_debug ((a), (b))
# define my_fatal_0(a) log_fatal ((a))
-#elif defined (DOTLOCK_GLIB_LOGGING)
-# define my_info_0(a) g_message ((a))
-# define my_info_1(a,b) g_message ((a), (b))
-# define my_info_2(a,b,c) g_message ((a), (b), (c))
-# define my_info_3(a,b,c,d) g_message ((a), (b), (c), (d))
-# define my_error_0(a) g_warning ((a))
-# define my_error_1(a,b) g_warning ((a), (b))
-# define my_error_2(a,b,c) g_warning ((a), (b), (c))
-# define my_debug_1(a,b) g_debug ((a), (b))
-# define my_fatal_0(a) g_error ((a))
#else
# define my_info_0(a) fprintf (stderr, (a))
# define my_info_1(a,b) fprintf (stderr, (a), (b))