summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-24 13:33:05 +0200
committerErich Eckner <git@eckner.net>2018-10-24 13:33:05 +0200
commita15775dccf52ff3d383dc765cf1a194a9ea33376 (patch)
tree890182567f264a152b482e9083d31f678a082d01
parentc91db0902c99c783c9652458a3b460f15ae8f18e (diff)
downloadanzeige-a15775dccf52ff3d383dc765cf1a194a9ea33376.tar.xz
gadgets_retrieve_temperature() -> gadgets_retrieve_current_temperature()
-rw-r--r--anzeige.c2
-rw-r--r--input_gadgets.c2
-rw-r--r--input_gadgets.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/anzeige.c b/anzeige.c
index 75b2032..0c3143a 100644
--- a/anzeige.c
+++ b/anzeige.c
@@ -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);