mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-06 16:11:32 +03:00
* mcserv.c: Include getopt.h, don't redefine optarg.
This commit is contained in:
parent
a1d4cb2a89
commit
27899bfa2c
@ -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.
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user