]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/main.c
make it compile under sunos
[ppp.git] / pppd / main.c
index d743b9691a2d14cda7c96c41eb9fcbbf21456d6c..cad0fa3b44a0668ebaadcec1a7d640561eabcfd4 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: main.c,v 1.71 1999/03/31 12:30:01 paulus Exp $";
+static char rcsid[] = "$Id: main.c,v 1.73 1999/04/01 07:19:59 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -153,8 +153,8 @@ static void record_child __P((int, char *, void (*) (void *), void *));
 static int start_charshunt __P((int, int));
 static void charshunt_done __P((void *));
 static void charshunt __P((int, int, char *));
-static int record_write(FILE *, int code, u_char *buf, int nb,
-                       struct timeval *);
+static int record_write __P((FILE *, int code, u_char *buf, int nb,
+                            struct timeval *));
 
 extern char    *ttyname __P((int));
 extern char    *getlogin __P((void));
@@ -1536,8 +1536,8 @@ reap_kids(waitfor)
            warn("Child process %s (pid %d) terminated with signal %d",
                 (chp? chp->prog: "??"), pid, WTERMSIG(status));
        } else if (debug)
-           dbglog("process %d (%s) finished, status = 0x%x",
-                  pid, (chp? chp->prog: "??"), status);
+           dbglog("Script %s finished (pid %d), status = 0x%x",
+                  (chp? chp->prog: "??"), pid, status);
        if (chp && chp->done)
            (*chp->done)(chp->arg);
     }