fixed anonymous structs
This commit is contained in:
parent
4a7bfd74db
commit
67ebb18bc8
|
@ -1,7 +1,7 @@
|
||||||
#ifndef CMDLINEOPTIONS_H
|
#ifndef CMDLINEOPTIONS_H
|
||||||
#define CMDLINEOPTIONS_H
|
#define CMDLINEOPTIONS_H
|
||||||
|
|
||||||
typedef struct {
|
typedef struct _Option {
|
||||||
char* name; // the name of this option
|
char* name; // the name of this option
|
||||||
char** options; //dashed option name and alternatives
|
char** options; //dashed option name and alternatives
|
||||||
unsigned int optionscount; // count of option alternatives
|
unsigned int optionscount; // count of option alternatives
|
||||||
|
@ -23,7 +23,7 @@ typedef struct _CONode {
|
||||||
Option* option;
|
Option* option;
|
||||||
} CONode;
|
} CONode;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct _CmdOptions {
|
||||||
char init;
|
char init;
|
||||||
CONode* options;
|
CONode* options;
|
||||||
} CmdOptions;
|
} CmdOptions;
|
||||||
|
|
Loading…
Reference in New Issue