Commit e637b4f2 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Merge r3827: Replace __inline with inline

C99 standardised "inline" and the Sun compiler doesn't like __inline,
so change to using inline consistently.



git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3968 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3a6ef634
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment