diff options
author | Franziskus Kiefer <franziskuskiefer@gmail.com> | 2016-04-30 09:25:29 +0200 |
---|---|---|
committer | Franziskus Kiefer <franziskuskiefer@gmail.com> | 2016-04-30 09:25:29 +0200 |
commit | 330e3680e79c75496bf1dde38a237beb5224299b (patch) | |
tree | c4e97dd9e5c9b652ded428da0d731d7a7e0dbf5b /lib/freebl/mpi | |
parent | 521d7d16391a02a34e2317e8d5d7649f2f054b7d (diff) | |
download | nss-hg-330e3680e79c75496bf1dde38a237beb5224299b.tar.gz |
Bug 1259052 - bustage fix use __inline__ instead of inline, r=bustage
Diffstat (limited to 'lib/freebl/mpi')
-rw-r--r-- | lib/freebl/mpi/mpi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/freebl/mpi/mpi.c b/lib/freebl/mpi/mpi.c index 3e9beb346..06b10d203 100644 --- a/lib/freebl/mpi/mpi.c +++ b/lib/freebl/mpi/mpi.c @@ -2777,7 +2777,7 @@ mp_err s_mp_pad(mp_int *mp, mp_size min) /* {{{ s_mp_setz(dp, count) */ /* Set 'count' digits pointed to by dp to be zeroes */ -inline void s_mp_setz(mp_digit *dp, mp_size count) +__inline__ void s_mp_setz(mp_digit *dp, mp_size count) { #if MP_MEMSET == 0 int ix; @@ -2795,7 +2795,7 @@ inline void s_mp_setz(mp_digit *dp, mp_size count) /* {{{ s_mp_copy(sp, dp, count) */ /* Copy 'count' digits from sp to dp */ -inline void s_mp_copy(const mp_digit *sp, mp_digit *dp, mp_size count) +__inline__ void s_mp_copy(const mp_digit *sp, mp_digit *dp, mp_size count) { #if MP_MEMCPY == 0 int ix; @@ -2814,7 +2814,7 @@ inline void s_mp_copy(const mp_digit *sp, mp_digit *dp, mp_size count) /* {{{ s_mp_alloc(nb, ni) */ /* Allocate ni records of nb bytes each, and return a pointer to that */ -inline void *s_mp_alloc(size_t nb, size_t ni) +__inline__ void *s_mp_alloc(size_t nb, size_t ni) { ++mp_allocs; return calloc(nb, ni); @@ -2826,7 +2826,7 @@ inline void *s_mp_alloc(size_t nb, size_t ni) /* {{{ s_mp_free(ptr) */ /* Free the memory pointed to by ptr */ -inline void s_mp_free(void *ptr) +__inline__ void s_mp_free(void *ptr) { if(ptr) { ++mp_frees; |