Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-06-24 00:52:47 +0300
committerAdam Langley <agl@google.com>2016-06-28 01:16:03 +0300
commitdca125efb54b025e7bd2050587a488ebe5409205 (patch)
tree5d2b29ec1810d9109c76e5ac20fc491ade7fc5ad /ssl/d1_both.c
parentaad50db45d3bb88a2be96e3f95cb8ebcfa29f8d1 (diff)
Remove compatibility 'inline' define.
MSVC 2015 seems to support it just fine. Change-Id: I9c91c18c260031e6024480d1f57bbb334ed7118c Reviewed-on: https://boringssl-review.googlesource.com/8501 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r--ssl/d1_both.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c
index 690a29f1..e23d2949 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -186,13 +186,9 @@ err:
return NULL;
}
-#if !defined(inline)
-#define inline __inline
-#endif
-
/* bit_range returns a |uint8_t| with bits |start|, inclusive, to |end|,
* exclusive, set. */
-static inline uint8_t bit_range(size_t start, size_t end) {
+static uint8_t bit_range(size_t start, size_t end) {
return (uint8_t)(~((1u << start) - 1) & ((1u << end) - 1));
}