summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-06-23 22:13:51 +0000
committerRalf Baechle <ralf@linux-mips.org>2009-06-23 22:13:51 +0000
commit2132980e6a4a286a345e73fa11f897ff66927569 (patch)
treebc3d3e76812b08388f382bf6b8346118f9a072c2
parent028c914d59e09391275f78c57dce32918e86cbfb (diff)
axgetput: Delete homegrown declarations of optarg and optind.
These should be declared by unistd.h only.
-rw-r--r--ax25/axgetput/axgetput.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ax25/axgetput/axgetput.c b/ax25/axgetput/axgetput.c
index 5073142..55e8364 100644
--- a/ax25/axgetput/axgetput.c
+++ b/ax25/axgetput/axgetput.c
@@ -1,4 +1,4 @@
-static const char rcsid[] = "@(#) $Id: axgetput.c,v 1.4 2009/06/23 21:58:23 ralf Exp $";
+static const char rcsid[] = "@(#) $Id: axgetput.c,v 1.5 2009/06/23 22:13:51 ralf Exp $";
/*
* This is axgetput
@@ -23,9 +23,6 @@ static const char rcsid[] = "@(#) $Id: axgetput.c,v 1.4 2009/06/23 21:58:23 ralf
#include "util.h"
#include "proto_bin.h"
-extern char *optarg;
-extern int optind;
-
int fdin = 0;
int fdout = 1;
int fderr = 2;