Return typed pointer from freeHardLink()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Sep 2010 11:16:23 +0000 (14:16 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Sep 2010 11:16:23 +0000 (14:16 +0300)
lib/fsm.c

index 57a0fee..2040d76 100644 (file)
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -539,7 +539,7 @@ static int saveHardLink(FSM_t fsm)
  * @param li           set of hard links
  * @return             NULL always
  */
-static void * freeHardLink(hardLink_t li)
+static hardLink_t freeHardLink(hardLink_t li)
 {
     if (li) {
        li->nsuffix = _free(li->nsuffix);       /* XXX elements are shared */