hal/hald device.c,1.17,1.18 device_store.c,1.22,1.23

David Zeuthen david at freedesktop.org
Mon Jul 25 21:40:45 PDT 2005


Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv14737/hald

Modified Files:
	device.c device_store.c 
Log Message:
2005-07-26  David Zeuthen  <davidz at redhat.com>

        * drive_id/ata.c, drive_id/drive_id.c, drive_id/scsi.c,
        hald/device.c, hald/device_store.c, hald/linux2/apm.c,
        hald/linux2/osspec.c, hald/linux2/pcmcia_utils.c,
        hald/linux2/probing/probe-storage.c, tools/hal-device.c,
        volume_id/fat.c, volume_id/iso9660.c, volume_id/isw_raid.c,
        volume_id/lvm.c, volume_id/romfs.c, volume_id/volume_id.c: This is
        a patch (against CVS) to fix several compiler warnings with gcc
        3.x and 4.x. Please review. Patch from Danny Kukawka
        <danny.kukawka at web.de>.



Index: device.c
===================================================================
RCS file: /cvs/hal/hal/hald/device.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- device.c	13 Jul 2005 03:38:01 -0000	1.17
+++ device.c	26 Jul 2005 04:40:42 -0000	1.18
@@ -147,7 +147,8 @@
 			NULL, NULL,
 			sizeof (HalDevice),
 			0,
-			(GInstanceInitFunc) hal_device_init
+			(GInstanceInitFunc) hal_device_init,
+			NULL
 		};
 
 		type = g_type_register_static (G_TYPE_OBJECT,
@@ -165,7 +166,7 @@
 {
 	HalDevice *device;
 
-	device = g_object_new (HAL_TYPE_DEVICE, NULL);
+	device = g_object_new (HAL_TYPE_DEVICE, NULL, NULL);
 
 #ifdef HALD_MEMLEAK_DBG
 	dbg_hal_device_object_delta++;

Index: device_store.c
===================================================================
RCS file: /cvs/hal/hal/hald/device_store.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- device_store.c	31 Jan 2005 20:06:39 -0000	1.22
+++ device_store.c	26 Jul 2005 04:40:42 -0000	1.23
@@ -140,7 +140,7 @@
 {
 	HalDeviceStore *store;
 
-	store = g_object_new (HAL_TYPE_DEVICE_STORE, NULL);
+	store = g_object_new (HAL_TYPE_DEVICE_STORE, NULL, NULL);
 
 	return store;
 }




More information about the hal-commit mailing list