mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
Revert: build: Do not define logging.h constants for ...
--- This reverts commit 2fedf8583bcc493f587c90bc9632d25dfd10bd10. We better solve this on the libgpg-error side. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
6391de3e62
commit
ddd54d8210
@ -70,12 +70,6 @@ estream_t log_get_stream (void);
|
|||||||
: _log_assert (#expr, __FILE__, __LINE__))
|
: _log_assert (#expr, __FILE__, __LINE__))
|
||||||
#endif /*!GPGRT_HAVE_MACRO_FUNCTION*/
|
#endif /*!GPGRT_HAVE_MACRO_FUNCTION*/
|
||||||
|
|
||||||
|
|
||||||
/* If we use an older libgpg-error we need to define the constants
|
|
||||||
* which will be used by current libgpg-error development
|
|
||||||
* versions. */
|
|
||||||
#ifndef GPGRT_LOG_WITH_PREFIX
|
|
||||||
|
|
||||||
/* Flag values for log_set_prefix. */
|
/* Flag values for log_set_prefix. */
|
||||||
#define GPGRT_LOG_WITH_PREFIX 1
|
#define GPGRT_LOG_WITH_PREFIX 1
|
||||||
#define GPGRT_LOG_WITH_TIME 2
|
#define GPGRT_LOG_WITH_TIME 2
|
||||||
@ -94,8 +88,6 @@ estream_t log_get_stream (void);
|
|||||||
GPGRT_LOG_BUG,
|
GPGRT_LOG_BUG,
|
||||||
GPGRT_LOG_DEBUG
|
GPGRT_LOG_DEBUG
|
||||||
};
|
};
|
||||||
#endif /* Old libgpg-error. */
|
|
||||||
|
|
||||||
void log_log (int level, const char *fmt, ...) GPGRT_ATTR_PRINTF(2,3);
|
void log_log (int level, const char *fmt, ...) GPGRT_ATTR_PRINTF(2,3);
|
||||||
void log_logv (int level, const char *fmt, va_list arg_ptr);
|
void log_logv (int level, const char *fmt, va_list arg_ptr);
|
||||||
void log_logv_with_prefix (int level, const char *prefix,
|
void log_logv_with_prefix (int level, const char *prefix,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user