summaryrefslogtreecommitdiff
path: root/lib/errors.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-12 16:02:20 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-12 16:02:20 +0200
commitb54ea0b6d4208d6eead5cf71b83d1041aea55d25 (patch)
tree46e8aa157581f57292044715da29ab614d2209b9 /lib/errors.h
parent33239bf89e41771798cf2d49a3c5564806f5582c (diff)
downloadgnutls-b54ea0b6d4208d6eead5cf71b83d1041aea55d25.tar.gz
_gnutls_asn2err: declared as constant function
Diffstat (limited to 'lib/errors.h')
-rw-r--r--lib/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/errors.h b/lib/errors.h
index 4335ec27db..78b11dfce7 100644
--- a/lib/errors.h
+++ b/lib/errors.h
@@ -40,7 +40,8 @@
#define gnutls_assert()
#endif
-int _gnutls_asn2err(int asn_err);
+int _gnutls_asn2err(int asn_err) __GNUTLS_CONST__;
+
void _gnutls_log(int, const char *fmt, ...)
#ifdef __GNUC__
__attribute__ ((format(printf, 2, 3)));