diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hal-common.h | 32 | ||||
-rw-r--r-- | src/ipod-device.c | 2 | ||||
-rw-r--r-- | src/ipod-device.h | 10 |
3 files changed, 16 insertions, 28 deletions
diff --git a/src/hal-common.h b/src/hal-common.h index cd78cc4..8cdbe2b 100644 --- a/src/hal-common.h +++ b/src/hal-common.h @@ -73,22 +73,22 @@ void ipod_device_set_global_main_context(GMainContext *ctx); #else typedef void LibHalContext; -gchar **libhal_manager_find_device_string_match (LibHalContext *hal_ctx, - const gchar *dev, - const gchar *str, - gint *vol_count, - void *error); -void libhal_free_string_array (gchar **volumes); -gboolean libhal_device_property_exists (LibHalContext *hal_ctx, - const gchar *vol, - const gchar *prop, - void *error); -gboolean libhal_device_get_property_bool (LibHalContext *hal_ctx, - const gchar *vol, - const gchar *prop, - void *error); -void libhal_ctx_shutdown (LibHalContext *hal_ctx, void *error); -void libhal_ctx_free (LibHalContext *hal_ctx); +G_GNUC_INTERNAL gchar **libhal_manager_find_device_string_match (LibHalContext *hal_ctx, + const gchar *dev, + const gchar *str, + gint *vol_count, + void *error); +G_GNUC_INTERNAL void libhal_free_string_array (gchar **volumes); +G_GNUC_INTERNAL gboolean libhal_device_property_exists (LibHalContext *hal_ctx, + const gchar *vol, + const gchar *prop, + void *error); +G_GNUC_INTERNAL gboolean libhal_device_get_property_bool (LibHalContext *hal_ctx, + const gchar *vol, + const gchar *prop, + void *error); +G_GNUC_INTERNAL void libhal_ctx_shutdown (LibHalContext *hal_ctx, void *error); +G_GNUC_INTERNAL void libhal_ctx_free (LibHalContext *hal_ctx); #endif diff --git a/src/ipod-device.c b/src/ipod-device.c index b616f07..951ddaf 100644 --- a/src/ipod-device.c +++ b/src/ipod-device.c @@ -65,8 +65,6 @@ #define ipod_device_list_devices itdb_device_list_devices #define ipod_device_list_device_udis itdb_device_list_device_udis - - #ifdef HAVE_CONFIG_H # include "config.h" #endif diff --git a/src/ipod-device.h b/src/ipod-device.h index 958d042..416c13e 100644 --- a/src/ipod-device.h +++ b/src/ipod-device.h @@ -77,16 +77,6 @@ #include <glib.h> #include <glib-object.h> -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#if HAVE_LIBHAL -# include <libhal.h> -# include <dbus/dbus.h> -# include <dbus/dbus-glib.h> -#endif - G_BEGIN_DECLS #define TYPE_IPOD_DEVICE (ipod_device_get_type ()) |