File rdist-6.1.5-proto.diff of Package rdist
--- src/common.c
+++ src/common.c
@@ -645,6 +645,7 @@
if (s)
message(MT_FERROR, "%s", s);
finish();
+ return 0;
}
/*NOTREACHED*/
}
--- src/docmd.c
+++ src/docmd.c
@@ -57,6 +57,9 @@
#include "defs.h"
#include <sys/socket.h>
#include <netdb.h>
+#include <string.h>
+#include <time.h>
+#include <stdlib.h>
struct subcmd *subcmds; /* list of sub-commands for
current cmd */
--- src/rdist.c
+++ src/rdist.c
@@ -55,6 +55,9 @@
#include <netdb.h>
#include <sys/ioctl.h>
+void usage();
+void docmdargs(int nargs, char **args);
+
/*
* Remote distribution program.
*/
--- src/rdistd.c
+++ src/rdistd.c
@@ -67,6 +67,7 @@
/*
* The Beginning
*/
+int
main(argc, argv, envp)
int argc;
char **argv;