summaryrefslogtreecommitdiff
path: root/navit/support/xgetopt/XGetopt.h
blob: 4bf8c8779918ea9a98dd05257b49671ad0177cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// XGetopt.h  Version 1.2
//
// Author:  Hans Dietrich
//          hdietrich2@hotmail.com
//
// This software is released into the public domain.
// You are free to use it in any way you like.
//
// This software is provided "as is" with no expressed
// or implied warranty.  I accept no liability for any
// damage or loss of business that this software may cause.
//
///////////////////////////////////////////////////////////////////////////////

#ifndef XGETOPT_H
#define XGETOPT_H

#ifdef __cplusplus
extern "C" {
#endif

extern int optind, opterr;
extern char *optarg;

int getopt(int argc, char *argv[], char *optstring);
#ifdef __cplusplus
}
#endif
#endif //XGETOPT_H