gpllib: Introduce typedefs for callbacks
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Thu, 6 Aug 2009 04:03:04 +0000 (21:03 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Thu, 6 Aug 2009 04:29:35 +0000 (21:29 -0700)
commit9636a1bbb1c1394fc9fb7cf66d97ffe5f5f43ff3
tree94c9c850b9c323ebf2a19ba32203e7a757e5a2d5
parent22a679c93b85c064844b0a12cb1e59eba1cf4aa4
gpllib: Introduce typedefs for callbacks

typedefs are evil but useful for function pointers as it makes them more
readable and maintainable.

This fixes a bug by the way: we had

   void *callback(struct driveinfo *, struct part_entry *, int, int)

where we should have had

   void (*callback)(struct driveinfo *, struct part_entry *, int, int)

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/gplinclude/disk/msdos.h
com32/gpllib/disk/msdos.c