Remove 'inline' attributes from static functions in .c files (#11426)
Let the compiler perform inlining (see #11397).
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
1c8e48f506
commit
a1e92eee3e
@@ -23,13 +23,13 @@
|
||||
#include "siphash24.h"
|
||||
#include "unaligned.h"
|
||||
|
||||
static inline uint64_t rotate_left(uint64_t x, uint8_t b) {
|
||||
static uint64_t rotate_left(uint64_t x, uint8_t b) {
|
||||
assert(b < 64);
|
||||
|
||||
return (x << b) | (x >> (64 - b));
|
||||
}
|
||||
|
||||
static inline void sipround(struct siphash *state) {
|
||||
static void sipround(struct siphash *state) {
|
||||
assert(state);
|
||||
|
||||
state->v0 += state->v1;
|
||||
|
||||
Reference in New Issue
Block a user