Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / mit-krb5 / patches / patch-lib_krb5_asn.1_asn1buf.h
blob42de933521c8559c4f32451d208ed253d5963654
1 $NetBSD$
3 Clang does not like this kind of inlines.
5 --- lib/krb5/asn.1/asn1buf.h.orig 2011-06-01 09:47:31.000000000 +0000
6 +++ lib/krb5/asn.1/asn1buf.h
7 @@ -147,7 +147,7 @@ asn1_error_code asn1buf_insert_octet(asn
8 * effects Inserts o into the buffer *buf, expanding the buffer if
9 * necessary. Returns ENOMEM memory is exhausted.
11 -#if ((__GNUC__ >= 2) && !defined(ASN1BUF_OMIT_INLINE_FUNCS)) && !defined(CONFIG_SMALL)
12 +#if ((__GNUC__ >= 2) && !defined(__clang__) && !defined(ASN1BUF_OMIT_INLINE_FUNCS)) && !defined(CONFIG_SMALL)
13 extern __inline__ asn1_error_code asn1buf_insert_octet(asn1buf *buf, const int o)
15 asn1_error_code retval;