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
#include "libvarnish.h"
#include "vsha256.h"
-static __inline void
+static inline void
mybe32enc(void *pp, uint32_t u)
{
unsigned char *p = (unsigned char *)pp;
p[3] = u & 0xff;
}
-static __inline void
+static inline void
mybe64enc(void *pp, uint64_t u)
{
unsigned char *p = (unsigned char *)pp;
#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;