From ee676290b20d866db9d5353710416d60c33dced9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 28 Feb 2019 13:28:52 -0600 Subject: [PATCH] arch/arm/src/imxrt/imxrt_ocotp.c: Eliminate 2 of 3 warnings found in build testing. I will need to talk with DavidS about the third. --- arch/arm/src/imxrt/imxrt_ocotp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/imxrt/imxrt_ocotp.c b/arch/arm/src/imxrt/imxrt_ocotp.c index 091aa2b7f4..0c997b831a 100644 --- a/arch/arm/src/imxrt/imxrt_ocotp.c +++ b/arch/arm/src/imxrt/imxrt_ocotp.c @@ -63,12 +63,12 @@ * Private Function ****************************************************************************/ -static inline void imxrt_ocotp_reset_errors() +static inline void imxrt_ocotp_reset_errorsvoid(void) { putreg32(OCOTP_CTRL_ERROR, IMXRT_OCOTP_CTRL_CLR); } -static void imxrt_ocotp_initialize() +static void imxrt_ocotp_initialize(void) { static bool once = false; uint32_t read;