From f098ef9e1e43be6907ec13990bb4b08236d4780f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 10 May 2007 03:52:05 +0000 Subject: [PATCH] We're requiring that 'inline' work nowadays, so don't conditionalize its use git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19546 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/enc_provider/rc4.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/lib/crypto/enc_provider/rc4.c b/src/lib/crypto/enc_provider/rc4.c index 685f89a89..5a4c8c0bb 100644 --- a/src/lib/crypto/enc_provider/rc4.c +++ b/src/lib/crypto/enc_provider/rc4.c @@ -43,13 +43,7 @@ static const krb5_data arcfour_weakkeys[] = { {KV5M_DATA, 0, 0} }; -/*xxx we really should check for c9x here and use inline on - * more than just gcc. */ -#if ((__GNUC__ >= 2) ) -static __inline__ unsigned int k5_arcfour_byte(ArcfourContext * ctx) -#else -static unsigned int k5_arcfour_byte(ArcfourContext * ctx) -#endif /* gcc inlines*/ +static inline unsigned int k5_arcfour_byte(ArcfourContext * ctx) { unsigned int x; unsigned int y; -- 2.26.2