Skip to content

Commit 21ed226

Browse files
committed
boot: bootutil: Fix bootutil_find_key definition
Fixes a wrong definition which creates a static inline function which does not match the prototype and also in a file where said function is not used at all Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 601c03c commit 21ed226

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

boot/bootutil/src/bootutil_find_key.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ int bootutil_find_key(uint8_t image_index, uint8_t *key, uint16_t key_len)
120120
#endif /* !MCUBOOT_BUILTIN_KEY */
121121

122122
#else /* !MCUBOOT_BYPASS_KEY_MATCH */
123-
static inline int
124-
bootutil_find_key(uint8_t image_index, uint8_t *key, uint16_t key_len)
123+
int bootutil_find_key(uint8_t image_index, uint8_t *key, uint16_t key_len)
125124
{
126125
(void)image_index;
127126
(void)key;

0 commit comments

Comments
 (0)