mirror of git://git.sysmocom.de/ofono
Do not include <config.h> from headers
It should be included _first_ in all modules, and it is not proof against multiple inclusions.
This commit is contained in:
parent
c722e8077c
commit
1206287664
|
@ -19,10 +19,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct at_data {
|
struct at_data {
|
||||||
GAtChat *parser;
|
GAtChat *parser;
|
||||||
struct ofono_modem *modem;
|
struct ofono_modem *modem;
|
||||||
|
|
|
@ -21,10 +21,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define DECLARE_FAILURE(e) \
|
#define DECLARE_FAILURE(e) \
|
||||||
struct ofono_error e; \
|
struct ofono_error e; \
|
||||||
e.type = OFONO_ERROR_TYPE_FAILURE; \
|
e.type = OFONO_ERROR_TYPE_FAILURE; \
|
||||||
|
|
Loading…
Reference in New Issue