summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-10-21 22:41:17 +0800
committerCommit Bot <commit-bot@chromium.org>2019-10-23 16:28:20 +0000
commitc7a384c92d83eac81506e3898f2db741f14a17f1 (patch)
tree81dc6c73de1aa9b8371288cc7a04dc6bf48cf67b /host
parentc58b499308d16dddedc80f5ecb973e38b46e18fc (diff)
downloadvboot-c7a384c92d83eac81506e3898f2db741f14a17f1.tar.gz
vboot: use inline instead of __inline
Use official inline keyword instead of compiler-specific __inline. BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: Ica2b2bd5f2af5188209dad6b5ba6f317b8229b99 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1872252 Tested-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'host')
-rw-r--r--host/lib/include/host_misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/include/host_misc.h b/host/lib/include/host_misc.h
index 65949508..1aed20a7 100644
--- a/host/lib/include/host_misc.h
+++ b/host/lib/include/host_misc.h
@@ -81,7 +81,7 @@ vb2_error_t vb21_write_object(const char *filename, const void *buf);
/**
* Round up a size to a multiple of 32 bits (4 bytes).
*/
-static __inline const uint32_t roundup32(uint32_t v)
+static inline const uint32_t roundup32(uint32_t v)
{
return (v + 3) & ~3;
}