From 52fdba11c6c3c581fe4c10218d52ccbe5cf7d512 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 30 Jun 2000 01:24:13 +0000 Subject: [PATCH] * asn1buf.h (asn1buf_insert_octet): Define using __inline__ rather than inline in order to shut up gcc -pedantic. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12474 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/asn.1/ChangeLog | 5 +++++ src/lib/krb5/asn.1/asn1buf.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index aaaebf9e0..bb99e2a4c 100644 --- a/src/lib/krb5/asn.1/ChangeLog +++ b/src/lib/krb5/asn.1/ChangeLog @@ -1,3 +1,8 @@ +2000-06-29 Tom Yu + + * asn1buf.h (asn1buf_insert_octet): Define using __inline__ rather + than inline in order to shut up gcc -pedantic. + 2000-06-28 Ezra Peisach * asn1_get.c (asn1_get_tag): Remove unused variable. diff --git a/src/lib/krb5/asn.1/asn1buf.h b/src/lib/krb5/asn.1/asn1buf.h index 52fc0d625..6920d1df1 100644 --- a/src/lib/krb5/asn.1/asn1buf.h +++ b/src/lib/krb5/asn.1/asn1buf.h @@ -143,7 +143,7 @@ asn1_error_code asn1buf_insert_octet effects Inserts o into the buffer *buf, expanding the buffer if necessary. Returns ENOMEM memory is exhausted. */ #if ((__GNUC__ >= 2) && !defined(ASN1BUF_OMIT_INLINE_FUNCS)) -extern inline asn1_error_code asn1buf_insert_octet(buf, o) +extern __inline__ asn1_error_code asn1buf_insert_octet(buf, o) asn1buf * buf; const int o; { -- 2.26.2