]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
_gnutls_asn2err: declared as constant function
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 12 Apr 2016 14:02:20 +0000 (16:02 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 12 Apr 2016 14:02:20 +0000 (16:02 +0200)
lib/errors.h

index 4335ec27db2c26bb8d837cb777e3aeaa873b1838..78b11dfce7c2efdc6dfa776f0238317ce157c6b5 100644 (file)
@@ -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)));