summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-12-10 15:19:06 +0000
committerRichard Hughes <richard@hughsie.com>2013-12-10 15:19:06 +0000
commitb2073da963d705bfccb38bcb7eeb5bbdcb315050 (patch)
tree04e5dd9afc2812b83fb0ef9dc81ccd2489a89457
parentdac69892b4e95988f8f6c81f1f7c723eac7269e9 (diff)
downloadcolord-b2073da963d705bfccb38bcb7eeb5bbdcb315050.tar.gz
trivial: Remove compile warning when compiling without udev
-rw-r--r--src/cd-sensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cd-sensor.h b/src/cd-sensor.h
index cb17e4c..d339c32 100644
--- a/src/cd-sensor.h
+++ b/src/cd-sensor.h
@@ -89,9 +89,9 @@ gboolean cd_sensor_set_from_device (CdSensor *sensor,
GUdevDevice *device,
GError **error);
GUdevDevice *cd_sensor_get_device (CdSensor *sensor);
+#endif
void cd_sensor_set_index (CdSensor *sensor,
guint idx);
-#endif
#ifdef HAVE_GUSB
GUsbDevice *cd_sensor_open_usb_device (CdSensor *sensor,
gint config,