summaryrefslogtreecommitdiff
path: root/input_gadgets.h
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-26 10:58:09 +0200
committerErich Eckner <git@eckner.net>2018-10-26 10:58:09 +0200
commit3470a4ce3a16f51d17127a202bf798d71544ffae (patch)
treedde1bf54cfd4029f11050065785ddef33bef4e7a /input_gadgets.h
parent3d7d5934ce19203b1b795cfea6a51599a20c9639 (diff)
downloadanzeige-3470a4ce3a16f51d17127a202bf798d71544ffae.tar.xz
compile with -pedantic
Diffstat (limited to 'input_gadgets.h')
-rw-r--r--input_gadgets.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/input_gadgets.h b/input_gadgets.h
index 37542f6..2f4f135 100644
--- a/input_gadgets.h
+++ b/input_gadgets.h
@@ -1,5 +1,5 @@
typedef struct {
- unsigned char *memory;
+ char *memory;
size_t size;
} MemoryStruct;
@@ -12,6 +12,6 @@ typedef struct {
time_t onset, expires;
} warning_t;
-unsigned char *gadgets_retrieve_current_temperature(unsigned char *output, int max_len);
-unsigned char *gadgets_retrieve_weather_forecast(unsigned char *output, int max_len);
-unsigned char *gadgets_retrieve_weather_warnings(unsigned char *output, int max_len);
+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);