We're requiring that 'inline' work nowadays, so don't conditionalize its use
authorKen Raeburn <raeburn@mit.edu>
Thu, 10 May 2007 03:52:05 +0000 (03:52 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 10 May 2007 03:52:05 +0000 (03:52 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19546 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/enc_provider/rc4.c

index 685f89a890f54a0ab290180b640f1cc15b088cae..5a4c8c0bbf44a10a37bb59a3d0da6deef9853d7a 100644 (file)
@@ -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;