diff options
author | 2018-02-13 15:34:13 +0200 | |
---|---|---|
committer | 2018-02-13 15:34:13 +0200 | |
commit | 23e4b0f2a730c152287a652826630e1ec8079be5 (patch) | |
tree | 007b4425130d78e8a4acd9bb5b07e55f3c3dd7a0 /src/tempmodule | |
parent | 4f32039879a09da6c10ae032e0e1ab9681855af3 (diff) | |
download | coffeetemp-23e4b0f2a730c152287a652826630e1ec8079be5.tar.gz coffeetemp-23e4b0f2a730c152287a652826630e1ec8079be5.tar.bz2 coffeetemp-23e4b0f2a730c152287a652826630e1ec8079be5.zip |
tempmodule: add include guards in the headers.
Diffstat (limited to 'src/tempmodule')
-rw-r--r-- | src/tempmodule/indicator.h | 5 | ||||
-rw-r--r-- | src/tempmodule/temperature.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/tempmodule/indicator.h b/src/tempmodule/indicator.h index 21eec29..91d5ab3 100644 --- a/src/tempmodule/indicator.h +++ b/src/tempmodule/indicator.h @@ -1,3 +1,6 @@ +#ifndef INDICATOR_INCLUDED +#define INDICATOR_INCLUDED + #ifdef __cplusplus extern "C" { #endif @@ -9,3 +12,5 @@ void indicator_calibrate(unsigned int const * const calibration); #ifdef __cplusplus } #endif + +#endif /* INDICATOR_INCLUDED */ 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 <inttypes.h> #ifdef __cplusplus @@ -11,3 +14,5 @@ int get_temp_subrange(short a, short b, int res); #ifdef __cplusplus } #endif + +#endif /* TEMPERATURE_INCLUDED */ |