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