--- rdist.c.orig Sun Feb 28 15:29:27 2016
+++ rdist.c Sun Feb 28 15:32:06 2016
@@ -57,8 +57,7 @@
char *path_remsh = NULL;
static void addhostlist(char *, struct namelist **);
-static void usage(void);
-int main(int, char **, char **);
+__dead void usage(void);
/*
* Add a hostname to the host list
@@ -331,12 +330,12 @@
/*
* Print usage message and exit.
*/
-static void
+__dead void
usage(void)
{
extern char *__progname;
- (void) fprintf(stderr,
+ fprintf(stderr,
"usage: %s [-DFnV] [-A num] [-a num] "
"[-c mini_distfile]\n"
"\t[-d var=value] [-f distfile] [-L remote_logopts] "
@@ -346,7 +345,7 @@
"\t[-t timeout] [name ...]\n", __progname);
- (void) fprintf(stderr, "\nThe values for <distopts> are:\n\t%s\n",
+ fprintf(stderr, "\nThe values for <distopts> are:\n\t%s\n",
getdistoptlist());
msgprusage();