mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-02 17:12:15 +00:00
remove redundant getopt.h declarations
This commit is contained in:
parent
799f3ea44c
commit
456b6afa97
1 changed files with 1 additions and 9 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
#if defined(HAVE_GETOPT_H)
|
||||
#include <getopt.h>
|
||||
#define GETOPT_SUPPORT 1
|
||||
#endif
|
||||
|
||||
#include "fluidsynth.h"
|
||||
|
@ -58,15 +59,6 @@ void print_welcome(void);
|
|||
fluid_cmd_handler_t* cmd_handler = NULL;
|
||||
int option_help = 0; /* set to 1 if "-o help" is specified */
|
||||
|
||||
/*
|
||||
* support for the getopt function
|
||||
*/
|
||||
#if defined(HAVE_GETOPT_H)
|
||||
#define GETOPT_SUPPORT 1
|
||||
int getopt(int argc, char * const argv[], const char *optstring);
|
||||
extern char *optarg;
|
||||
extern int optind, opterr, optopt;
|
||||
#endif
|
||||
|
||||
/* Process a command line option -o setting=value, for example: -o synth.polyhony=16 */
|
||||
void process_o_cmd_line_option(fluid_settings_t* settings, char* optarg)
|
||||
|
|
Loading…
Reference in a new issue