Fix errors and simple warnings when building on GCC 10.2.0.

This commit is contained in:
Boris Gjenero
2020-11-01 17:33:33 -05:00
parent 11b14351b0
commit 72cbcae7af
10 changed files with 16 additions and 13 deletions

View File

@@ -38,6 +38,7 @@ static char rcsid[] = "$Id: mopd.c,v 1.14 1996/03/31 19:20:42 moj Exp $";
* mopd [ -d -f -v ] [ -3 | -4 ] interface
*/
#include <string.h>
#include <common/os.h>
#include <common/common.h>
#include <common/mopdef.h>
@@ -50,12 +51,6 @@ static char rcsid[] = "$Id: mopd.c,v 1.14 1996/03/31 19:20:42 moj Exp $";
#include <common/rc.h>
#include "process.h"
/*
* The list of all interfaces that are being listened to.
* "selects" on the descriptors in this list.
*/
struct if_info *iflist;
#ifdef NO__P
void Loop (/* void */);
void Usage (/* void */);