From 23e4b0f2a730c152287a652826630e1ec8079be5 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Tue, 13 Feb 2018 15:34:13 +0200 Subject: tempmodule: add include guards in the headers. --- src/tempmodule/temperature.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tempmodule/temperature.h') diff --git a/src/tempmodule/temperature.h b/src/tempmodule/temperature.h index 2dfac73..8d990be 100644 --- a/src/tempmodule/temperature.h +++ b/src/tempmodule/temperature.h @@ -1,3 +1,6 @@ +#ifndef TEMPERATURE_INCLUDED +#define TEMPERATURE_INCLUDED + #include #ifdef __cplusplus @@ -11,3 +14,5 @@ int get_temp_subrange(short a, short b, int res); #ifdef __cplusplus } #endif + +#endif /* TEMPERATURE_INCLUDED */ -- cgit v1.2.3