summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki_priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-04-02 13:41:02 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-04-02 13:42:12 +0200
commitdc30183d8aa9f06c2dc9375a882d16e87dbd4272 (patch)
tree84cbdd0fe7492c0a53a25d3129d263578747629e /include/libssh/pki_priv.h
parent396f5e21103490fc2eae5509cf9afc723ae85842 (diff)
cmake: Detect __func__ and __FUNCTION__ during configure step
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/pki_priv.h')
-rw-r--r--include/libssh/pki_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 0cbe8b72..788ae616 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -29,7 +29,7 @@
#define ECDSA_HEADER_END "-----END EC PRIVATE KEY-----"
#define ssh_pki_log(...) \
- _ssh_pki_log(__FUNCTION__, __VA_ARGS__)
+ _ssh_log(SSH_LOG_FUNCTIONS, __func__, __VA_ARGS__)
void _ssh_pki_log(const char *function,
const char *format, ...) PRINTF_ATTRIBUTE(2, 3);