* mcserv.c: Include getopt.h, don't redefine optarg.

This commit is contained in:
Pavel Roskin 2002-11-15 17:07:06 +00:00
parent a1d4cb2a89
commit 27899bfa2c
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2002-11-15 Pavel Roskin <proski@gnu.org>
* mcserv.c: Include getopt.h, don't redefine optarg.
* names.c: Only leave actually used functions.
* ftpfs.c (ftpfs_open_socket): Use INADDR_NONE, not -1.

View File

@ -55,6 +55,7 @@
#include <sys/wait.h>
#include <errno.h>
#include <signal.h>
#include <getopt.h>
/* Network include files */
#include <sys/socket.h>
@ -1264,7 +1265,6 @@ int
main (int argc, char *argv[])
{
char *result;
extern char *optarg;
int c;
while ((c = getopt (argc, argv, "fdiqp:v")) != -1) {