From 69c1e90d1bfa7db79c40ecda9876a2d17fa73ae2 Mon Sep 17 00:00:00 2001 From: Franck Wajsburt Date: Thu, 2 May 2002 10:40:18 +0000 Subject: [PATCH] inclusion de unistd.h pour regler le pb de getopt sur Solaris et Linux --- alliance/src/exp/src/main.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/alliance/src/exp/src/main.c b/alliance/src/exp/src/main.c index 15c491be..645d8ea8 100644 --- a/alliance/src/exp/src/main.c +++ b/alliance/src/exp/src/main.c @@ -1,9 +1,9 @@ #include #include #include -// #include -#include "exp.h" +#include #include "ht.h" +#include "exp.h" void usage (char *av[]) { @@ -20,11 +20,6 @@ void getoption (int ac, char *av[], FILE ** expout, FILE ** expin) { char option; int verbose; - - extern char *optarg; - extern long optind; - extern char getopt (long, char **, char *); - *expin = stdin; *expout = stdout;