summaryrefslogtreecommitdiff
path: root/soltools/cpp/_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'soltools/cpp/_unix.c')
-rw-r--r--soltools/cpp/_unix.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c
index 5574bb3ecef7..1b58c00b6edb 100644
--- a/soltools/cpp/_unix.c
+++ b/soltools/cpp/_unix.c
@@ -12,9 +12,7 @@
#include "cpp.h"
-extern int stgetopt(int, char *const *, const char *);
-extern char *optarg, rcsid[];
-extern int optind;
+extern char rcsid[];
int Pflag = 0; /* print no line information */
int Iflag = 0; /* print includes */
@@ -36,7 +34,7 @@ void
Tokenrow tr;
setup_kwtab();
- while ((c = stgetopt(argc, argv, "NOPV:I:D:U:F:A:X:u:l:+")) != -1)
+ while ((c = getopt(argc, argv, "NOPV:I:D:U:F:A:X:u:l:+")) != -1)
switch (c)
{
case 'N':