[PATCH 2/8] use g_slice for hotplug events

Rob Taylor rob.taylor at codethink.co.uk
Mon Nov 19 08:17:27 PST 2007


Using g_slice should be better (and makes for cleaner code) than our current
HotplugEvent pool.

---
 hald/linux/acpi.c     |    8 +++---
 hald/linux/apm.c      |    8 +++---
 hald/linux/blockdev.c |   12 ++++++----
 hald/linux/coldplug.c |   52
+++++++++++-------------------------------------
 hald/linux/device.c   |    6 ++--
 hald/linux/hotplug.c  |    6 +----
 hald/linux/hotplug.h  |    3 --
 hald/linux/osspec.c   |    4 +-
 8 files changed, 33 insertions(+), 66 deletions(-)

-- 
Rob Taylor, Codethink Ltd. -  http://codethink.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0bc26f0d6dc968236486d8479532628e0fa6ecc5.diff
Type: text/x-patch
Size: 13798 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071119/f7ce5493/attachment.bin 


More information about the hal mailing list