forked from Miroirs/x49gp
prettify code
This commit is contained in:
parent
18ef08eb32
commit
c09f925e32
2 changed files with 66 additions and 69 deletions
|
@ -29,7 +29,6 @@ void config_init( char* progname, int argc, char* argv[] )
|
|||
opt.model = MODEL_50G;
|
||||
opt.name = NULL;
|
||||
|
||||
|
||||
const char* optstring = "hrc:D:df:Fn:";
|
||||
struct option long_options[] = {
|
||||
{"help", no_argument, NULL, 'h'},
|
||||
|
@ -138,9 +137,7 @@ void config_init( char* progname, int argc, char* argv[] )
|
|||
}
|
||||
|
||||
if ( opt.debug_port != 0 && opt.debug_port != DEFAULT_GDBSTUB_PORT )
|
||||
fprintf( stderr,
|
||||
"Additional debug port \"%s\" specified, overriding\n",
|
||||
optarg );
|
||||
fprintf( stderr, "Additional debug port \"%s\" specified, overriding\n", optarg );
|
||||
opt.debug_port = port;
|
||||
|
||||
opt.start_debugger = do_start_debugger;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
|
||||
# include "list.h"
|
||||
#include "list.h"
|
||||
#include "x49gp_types.h"
|
||||
|
||||
#define X49GP_TIMER_VIRTUAL 0
|
||||
|
|
Loading…
Reference in a new issue