core: Protect the trace macros for fun and profit. master
authorWerner Koch <wk@gnupg.org>
Fri, 16 Nov 2018 17:17:22 +0000 (18:17 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 16 Nov 2018 17:17:22 +0000 (18:17 +0100)
commit7a1e7006d06fdbab86ea79a197c316744b09d933
tree13e878cc63d2c9116f58307b38ea8c49ccba7097
parent7eda50a673d15320022375360fd220e8381b69ab
core: Protect the trace macros for fun and profit.

* src/debug.h: Protect macros using.
(_trace_err, _trace_sysres, _trace_syserr): New helper inline
functions.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/data-compat.c
src/data-estream.c
src/data-fd.c
src/data-mem.c
src/data-stream.c
src/data-user.c
src/debug.h
src/gpgme.c
src/keylist.c
src/posix-io.c
src/signers.c