Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
305d4bfd
Commit
305d4bfd
authored
Oct 07, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Remove unnecessary function prototypes.
parent
54592ea3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
52 deletions
+0
-52
getopt.h
libs/port/getopt.h
+0
-52
No files found.
libs/port/getopt.h
View file @
305d4bfd
...
...
@@ -113,63 +113,11 @@ struct option
#endif
/* need getopt */
/* Get definitions and prototypes for functions to process the
arguments in ARGV (ARGC of them, minus the program name) for
options given in OPTS.
Return the option character from OPTS just read. Return -1 when
there are no more options. For unrecognized options, or options
missing arguments, `optopt' is set to the option letter, and '?' is
returned.
The OPTS string is a list of characters which are recognized option
letters, optionally followed by colons, specifying that that letter
takes an argument, to be placed in `optarg'.
If a letter in OPTS is followed by two colons, its argument is
optional. This behavior is specific to the GNU `getopt'.
The argument `--' causes premature termination of argument
scanning, explicitly telling `getopt' that there are no more
options.
If OPTS begins with `--', then non-option arguments are treated as
arguments to the option '\0'. This behavior is specific to the GNU
`getopt'. */
#if (defined __STDC__ && __STDC__) || defined __cplusplus
# ifdef __GNU_LIBRARY__
/* Many other libraries have conflicting prototypes for getopt, with
differences in the consts, in stdlib.h. To avoid compilation
errors, only prototype getopt for the GNU C library. */
extern
int
getopt
(
int
___argc
,
char
*
const
*
___argv
,
const
char
*
__shortopts
);
# else
/* not __GNU_LIBRARY__ */
extern
int
getopt
();
# endif
/* __GNU_LIBRARY__ */
# ifndef __need_getopt
extern
int
getopt_long
(
int
___argc
,
char
*
const
*
___argv
,
const
char
*
__shortopts
,
const
struct
option
*
__longopts
,
int
*
__longind
);
extern
int
getopt_long_only
(
int
___argc
,
char
*
const
*
___argv
,
const
char
*
__shortopts
,
const
struct
option
*
__longopts
,
int
*
__longind
);
/* Internal only. Users should not call this directly. */
extern
int
_getopt_internal
(
int
___argc
,
char
*
const
*
___argv
,
const
char
*
__shortopts
,
const
struct
option
*
__longopts
,
int
*
__longind
,
int
__long_only
);
# endif
#else
/* not __STDC__ */
extern
int
getopt
();
# ifndef __need_getopt
extern
int
getopt_long
();
extern
int
getopt_long_only
();
extern
int
_getopt_internal
();
# endif
#endif
/* __STDC__ */
#ifdef __cplusplus
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment