diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-12-03 08:29:35 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-12-03 08:29:35 (GMT) |
commit | db972bad9178b95ee16110de186074476579bf89 (patch) | |
tree | b60f344d27d35d1b1364c592b29079a196ecb734 /src/compression/xtc2.c | |
parent | dc622b86d3c09e9242a5693bc2a0cf6c6fde7754 (diff) |
Fixed compiler warnings.
Change-Id: I548a5f0a5d0e79777d96474b46a29c4caf5c416e
Diffstat (limited to 'src/compression/xtc2.c')
-rw-r--r-- | src/compression/xtc2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compression/xtc2.c b/src/compression/xtc2.c index d5a13a4..888ff8d 100644 --- a/src/compression/xtc2.c +++ b/src/compression/xtc2.c @@ -176,7 +176,7 @@ int Ptngc_magic(unsigned int i) return magic[i]; } -TNG_INLINE int Ptngc_find_magic_index(const unsigned int maxval) +int Ptngc_find_magic_index(const unsigned int maxval) { int i; @@ -201,7 +201,7 @@ TNG_INLINE int Ptngc_find_magic_index(const unsigned int maxval) return i; } -TNG_INLINE static unsigned int positive_int(const int item) +static TNG_INLINE unsigned int positive_int(const int item) { int s=0; if (item>0) @@ -211,7 +211,7 @@ TNG_INLINE static unsigned int positive_int(const int item) return s; } -TNG_INLINE static int unpositive_int(const int val) +static TNG_INLINE int unpositive_int(const int val) { int s=(val+1)/2; if ((val%2)==0) |