fixed anonymous structs

This commit is contained in:
Marcel M. Otte 2013-12-27 10:53:29 +00:00
parent 4a7bfd74db
commit 67ebb18bc8
1 changed files with 2 additions and 2 deletions

View File

@ -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;