diff options
author | Erich Eckner <git@eckner.net> | 2018-10-24 13:33:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-24 13:33:05 +0200 |
commit | a15775dccf52ff3d383dc765cf1a194a9ea33376 (patch) | |
tree | 890182567f264a152b482e9083d31f678a082d01 | |
parent | c91db0902c99c783c9652458a3b460f15ae8f18e (diff) | |
download | anzeige-a15775dccf52ff3d383dc765cf1a194a9ea33376.tar.xz |
gadgets_retrieve_temperature() -> gadgets_retrieve_current_temperature()
-rw-r--r-- | anzeige.c | 2 | ||||
-rw-r--r-- | input_gadgets.c | 2 | ||||
-rw-r--r-- | input_gadgets.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -51,7 +51,7 @@ int main(int argc, char **argv) } memset(text_buffer, 0, TEXT_BUFFER_LENGTH); - ret_val = gadgets_retrieve_temperature(text_buffer,TEXT_BUFFER_LENGTH); + ret_val = gadgets_retrieve_current_temperature(text_buffer,TEXT_BUFFER_LENGTH); if (ret_val) { free(text_buffer); exit(ret_val); diff --git a/input_gadgets.c b/input_gadgets.c index cf6e3d6..af5c622 100644 --- a/input_gadgets.c +++ b/input_gadgets.c @@ -28,7 +28,7 @@ WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp) return realsize; } -int gadgets_retrieve_temperature(unsigned char *output, int max_len) +int gadgets_retrieve_current_temperature(unsigned char *output, int max_len) { CURL *curl_handle; CURLcode res; diff --git a/input_gadgets.h b/input_gadgets.h index bedf94b..cdf1bcb 100644 --- a/input_gadgets.h +++ b/input_gadgets.h @@ -3,4 +3,4 @@ struct MemoryStruct { size_t size; }; -int gadgets_retrieve_temperature(unsigned char *output, int max_len); +int gadgets_retrieve_current_temperature(unsigned char *output, int max_len); |