diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-10-02 14:59:32 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-10-09 16:09:19 +0300 |
commit | 2156107afcd1954fd36ab1e55cf73390548e6d07 (patch) | |
tree | bdb7a6dc36147308ae8a9145bb0fc8e931edce87 /src/blob.c | |
parent | f9f8594069fbf8757d350669d0c3a9187bbba4ae (diff) | |
download | apk-tools-2156107afcd1954fd36ab1e55cf73390548e6d07.tar.gz apk-tools-2156107afcd1954fd36ab1e55cf73390548e6d07.tar.bz2 apk-tools-2156107afcd1954fd36ab1e55cf73390548e6d07.tar.xz apk-tools-2156107afcd1954fd36ab1e55cf73390548e6d07.zip |
minor performance improvements on build and code
Diffstat (limited to 'src/blob.c')
-rw-r--r-- | src/blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -192,7 +192,7 @@ apk_blob_t apk_blob_pushed(apk_blob_t buffer, apk_blob_t left) return APK_BLOB_PTR_LEN(buffer.ptr, left.ptr - buffer.ptr); } -static inline uint32_t rotl32(uint32_t x, int8_t r) +static inline __attribute__((always_inline)) uint32_t rotl32(uint32_t x, int8_t r) { return (x << r) | (x >> (32 - r)); } |