From 67ebb18bc873fbdcc357da98a582c1c7fd656ab4 Mon Sep 17 00:00:00 2001 From: "Marcel M. Otte" Date: Fri, 27 Dec 2013 10:53:29 +0000 Subject: [PATCH] fixed anonymous structs --- c/cmdlineoptions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/cmdlineoptions.h b/c/cmdlineoptions.h index 09e8cae..876ed72 100644 --- a/c/cmdlineoptions.h +++ b/c/cmdlineoptions.h @@ -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;