health: Fix ordering of includes

This commit is contained in:
Johan Hedberg 2011-12-15 16:07:52 +02:00
parent 8ab04c63a6
commit 7c9d6a2478
5 changed files with 43 additions and 26 deletions

View File

@ -20,24 +20,27 @@
*
*/
#include <gdbus.h>
#include "log.h"
#include "error.h"
#include <stdlib.h>
#include <stdint.h>
#include <hdp_types.h>
#include <hdp_util.h>
#include <sdpd.h>
#include <unistd.h>
#include <glib.h>
#include <bluetooth/l2cap.h>
#include <gdbus.h>
#include <dbus-common.h>
#include <log.h>
#include <error.h>
#include <adapter.h>
#include <device.h>
#include <hdp.h>
#include <mcap.h>
#include <btio.h>
#include <mcap_lib.h>
#include <bluetooth/l2cap.h>
#include <sdpd.h>
#include "../src/dbus-common.h"
#include <unistd.h>
#include "mcap_lib.h"
#include "hdp_types.h"
#include "hdp_util.h"
#include "hdp.h"
#include "mcap.h"
#ifndef DBUS_TYPE_UNIX_FD
#define DBUS_TYPE_UNIX_FD -1

View File

@ -30,15 +30,14 @@
#include <btio.h>
#include <adapter.h>
#include <device.h>
#include <glib-helper.h>
#include <log.h>
#include "hdp_types.h"
#include "log.h"
#include "hdp_manager.h"
#include "hdp.h"
#include "glib-helper.h"
static DBusConnection *connection = NULL;
static int hdp_adapter_probe(struct btd_adapter *adapter)

View File

@ -20,15 +20,18 @@
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdint.h>
#include <glib.h>
#include <gdbus.h>
#include <adapter.h>
#include <device.h>
#include <stdint.h>
#include <hdp_types.h>
#include <hdp_util.h>
#include <mcap.h>
#include <hdp.h>
#include <sdpd.h>
#include <bluetooth/sdp_lib.h>
@ -36,10 +39,15 @@
#include <glib-helper.h>
#include <btio.h>
#include <mcap_lib.h>
#include <log.h>
#include "mcap.h"
#include "mcap_lib.h"
#include "hdp_types.h"
#include "hdp.h"
#include "hdp_util.h"
typedef gboolean (*parse_item_f)(DBusMessageIter *iter, gpointer user_data,
GError **err);

View File

@ -20,17 +20,20 @@
*
*/
#include "log.h"
#include "error.h"
#include <netinet/in.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include "btio.h"
#include <glib.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/l2cap.h>
#include <btio.h>
#include <log.h>
#include <error.h>
#include "mcap.h"
#include "mcap_lib.h"
#include "mcap_internal.h"

View File

@ -21,6 +21,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdint.h>
#include <netinet/in.h>
#include <time.h>