Fixed type for getopt_long return value.

This commit is contained in:
Svend Sorensen
2006-02-23 22:27:47 +00:00
parent 43f3a89dec
commit 156b19d0a9
3 changed files with 4 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ int main (int argc, char **argv)
int gaps = APPEND;
/* option variables */
char c;
int c;
/* getopt_long() variables */
extern char *optarg;
extern int optind;

View File

@@ -77,7 +77,7 @@ int main (int argc, char **argv)
int iformat = UNKNOWN;
int oformat = UNKNOWN;
/* option variables */
char c;
int c;
/* getopt_long() variables */
extern char *optarg;
extern int optind;

View File

@@ -438,8 +438,9 @@ int main (int argc, char **argv)
int trackno = -1; /* track number (-1 = unspecified, 0 = disc info) */
char *d_template = NULL; /* disc template */
char *t_template = NULL; /* track template */
/* option variables */
int c;
/* getopt_long() variables */
char c;
extern char *optarg;
extern int optind;