inclusion de unistd.h pour regler le pb de getopt sur Solaris et Linux
This commit is contained in:
parent
e26228b51f
commit
69c1e90d1b
|
@ -1,9 +1,9 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
// #include <getopt.h>
|
||||
#include "exp.h"
|
||||
#include <unistd.h>
|
||||
#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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue