]> git.marmaro.de Git - mmh/blobdiff - uip/rcvdist.c
Return type of (*done)() changed to void. default_done() replaced by
[mmh] / uip / rcvdist.c
index 1667232c8a22436dcb9233a69f37a5ef1deda092..b0a360977bfae8aa13b2b257be0be6d792efee78 100644 (file)
@@ -34,7 +34,7 @@ static char tmpfil[BUFSIZ] = "";
  * prototypes
  */
 static void rcvdistout (FILE *, char *, char *);
-static int unlink_done (int);
+static void unlink_done (int);
 
 
 int
@@ -270,7 +270,7 @@ finished: ;
 }
 
 
-static int
+static void
 unlink_done (int status)
 {
     if (backup[0])
@@ -281,5 +281,4 @@ unlink_done (int status)
        unlink (tmpfil);
 
     exit (status ? RCV_MBX : RCV_MOK);
-    return 1;  /* dead code to satisfy the compiler */
 }