From 47231117238180500e22522eb470530bad381dd1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Tue, 23 Apr 2013 17:21:22 +0000 Subject: [PATCH] --- src/http.c | 2 +- src/http.h | 6 +++--- src/main.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/http.c b/src/http.c index a1d0211..ba4d51a 100644 --- a/src/http.c +++ b/src/http.c @@ -53,7 +53,7 @@ static size_t cbk_curl(void *buffer, size_t size, size_t nmemb, void *userp) return realsize; } -void phttp_init() +void http_init() { curl = curl_easy_init(); } diff --git a/src/http.h b/src/http.h index 3c717c9..91ffcc2 100644 --- a/src/http.h +++ b/src/http.h @@ -17,10 +17,10 @@ * 02110-1301 USA */ -#ifndef _PHTTP_H_ -#define _PHTTP_H_ +#ifndef _PRSS_HTTP_H_ +#define _PRSS_HTTP_H_ -void phttp_init(); +void http_init(); json_object *get_json_object(const char *url); json_object *post_json_object(const char *url, struct json_object *); diff --git a/src/main.c b/src/main.c index bc1805c..c9f15a9 100644 --- a/src/main.c +++ b/src/main.c @@ -342,7 +342,7 @@ int main(int argc, char **argv) exit(EXIT_FAILURE); } - phttp_init(); + http_init(); gtk_init(NULL, NULL); settings = g_settings_new("prss"); -- 2.7.4