summaryrefslogtreecommitdiff
path: root/input_gadgets.h
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-01 13:03:42 +0100
committerErich Eckner <git@eckner.net>2018-11-01 13:03:42 +0100
commit010ebe05197f5b738fe7eb78a1c8ec135d93e516 (patch)
tree645c693d85bf5b889a57f78fda7b43df09a51d52 /input_gadgets.h
parenta9679f6210fad1b1d8b05529dd6f4443c633365b (diff)
downloadanzeige-010ebe05197f5b738fe7eb78a1c8ec135d93e516.tar.xz
include *.h files only once
Diffstat (limited to 'input_gadgets.h')
-rw-r--r--input_gadgets.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/input_gadgets.h b/input_gadgets.h
index 2f4f135..1c667e3 100644
--- a/input_gadgets.h
+++ b/input_gadgets.h
@@ -1,3 +1,6 @@
+#ifndef INPUT_GADGETS_H
+#define INPUT_GADGETS_H
+
typedef struct {
char *memory;
size_t size;
@@ -15,3 +18,5 @@ typedef struct {
char *gadgets_retrieve_current_temperature(char *output, int max_len);
char *gadgets_retrieve_weather_forecast(char *output, int max_len);
char *gadgets_retrieve_weather_warnings(char *output, int max_len);
+
+#endif // INPUT_GADGETS_H