summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-05-10 03:52:05 +0000
committerKen Raeburn <raeburn@mit.edu>2007-05-10 03:52:05 +0000
commitf098ef9e1e43be6907ec13990bb4b08236d4780f (patch)
tree48794f40c8498e178143214a2bd769f6f1af8dc5 /src/lib
parent4263a29d33db110dc829b136b1e4e1317c0f4bab (diff)
downloadkrb5-f098ef9e1e43be6907ec13990bb4b08236d4780f.tar.gz
krb5-f098ef9e1e43be6907ec13990bb4b08236d4780f.tar.xz
krb5-f098ef9e1e43be6907ec13990bb4b08236d4780f.zip
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/crypto/enc_provider/rc4.c8
1 files changed, 1 insertions, 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;