Skip to content

Commit 119e99f

Browse files
authored
Merge pull request #11661 from Alex-EEE/patch-1
mbed_rtc_time.h lacks an include guard
2 parents 0ca6433 + 4ffa363 commit 119e99f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

platform/mbed_rtc_time.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
* limitations under the License.
1616
*/
1717

18+
#ifndef __MBED_RTC_TIME_H__
19+
#define __MBED_RTC_TIME_H__
20+
1821
#include <time.h>
1922

2023
#ifdef __cplusplus
@@ -129,3 +132,5 @@ int settimeofday(const struct timeval *tv, const struct timezone *tz);
129132

130133
/** @}*/
131134
/** @}*/
135+
136+
#endif /* __MBED_RTC_TIME_H__ */

0 commit comments

Comments
 (0)