From: tfheen Date: Wed, 25 Feb 2009 11:40:39 +0000 (+0000) Subject: Replace __inline with inline X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249b7a2db211c38d76325fdff622133b03951b1f;p=varnish Replace __inline with inline C99 standardised "inline" and the Sun compiler doesn't like __inline, so change to using inline consistently. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3827 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvarnish/vsha256.c b/varnish-cache/lib/libvarnish/vsha256.c index ec750fe5..177e592b 100644 --- a/varnish-cache/lib/libvarnish/vsha256.c +++ b/varnish-cache/lib/libvarnish/vsha256.c @@ -45,7 +45,7 @@ #include "libvarnish.h" #include "vsha256.h" -static __inline void +static inline void mybe32enc(void *pp, uint32_t u) { unsigned char *p = (unsigned char *)pp; @@ -56,7 +56,7 @@ mybe32enc(void *pp, uint32_t u) p[3] = u & 0xff; } -static __inline void +static inline void mybe64enc(void *pp, uint64_t u) { unsigned char *p = (unsigned char *)pp; @@ -77,7 +77,7 @@ mybe64enc(void *pp, uint64_t u) #else /* BYTE_ORDER != BIG_ENDIAN or in doubt... */ -static __inline uint32_t +static inline uint32_t mybe32dec(const void *pp) { unsigned char const *p = (unsigned char const *)pp;