summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bouchaud (yoz) <yoz@efl.so>2019-01-11 17:10:46 +0100
committerMichael Bouchaud (yoz) <yoz@efl.so>2019-01-11 17:10:46 +0100
commit642f0a6875bfee8df3b3f9726e668fce816cc195 (patch)
tree0b9be0bfbd5196d5ad3ccf315a19cf8d80d0b444
parent839ef56e1c92b34def127b72e9f1875bc965445a (diff)
mrproper into include files
-rw-r--r--src/plugin.c1
-rw-r--r--src/plugin_openweathermap.c3
-rw-r--r--src/weather.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 28bbb39..a9e9103 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -1,5 +1,4 @@
1#define LOG_DOMAIN _plugin_log_domain 1#define LOG_DOMAIN _plugin_log_domain
2#include <e.h>
3#include "weather.h" 2#include "weather.h"
4#include "plugin.h" 3#include "plugin.h"
5#include "plugin_openweathermap.h" 4#include "plugin_openweathermap.h"
diff --git a/src/plugin_openweathermap.c b/src/plugin_openweathermap.c
index b4dad70..de16e0f 100644
--- a/src/plugin_openweathermap.c
+++ b/src/plugin_openweathermap.c
@@ -1,10 +1,9 @@
1#define _GNU_SOURCE 1 1#define _GNU_SOURCE 1
2#define LOG_DOMAIN _plugin_openweather_map_log_domain 2#define LOG_DOMAIN _plugin_openweather_map_log_domain
3#include <time.h> 3#include <time.h>
4#include <e.h>
5#include "weather.h" 4#include "weather.h"
6#include "plugin.h" 5#include "plugin.h"
7#include "config.h" 6#include "plugin_openweathermap.h"
8 7
9 8
10#define WEATHER_URL "api.openweathermap.org/data/2.5/" 9#define WEATHER_URL "api.openweathermap.org/data/2.5/"
diff --git a/src/weather.h b/src/weather.h
index e5f8704..ccdad34 100644
--- a/src/weather.h
+++ b/src/weather.h
@@ -1,9 +1,9 @@
1#ifndef WEATHER_H 1#ifndef WEATHER_H
2#define WEATHER_H 2#define WEATHER_H
3 3
4//#include "e.h"
5#include <Elementary.h> 4#include <Elementary.h>
6#include <e_gadget_types.h> 5#include <e_gadget_types.h>
6#include <assert.h>
7#include <e_macros.h> 7#include <e_macros.h>
8#include "../config.h" 8#include "../config.h"
9#ifdef HAVE_GETTEXT 9#ifdef HAVE_GETTEXT