If the typedef is visible, that's fine -- you just need to call it "configurationOptions" (since that's the name you gave it in the typedef) instead of "struct configurationsOptions".
Edit to add: At this point, I would say, if you have most of your code referring to "struct configurationOptions" to not typedef it but make it a named struct; if it's just a few mentions, go ahead and change those mentions. There's no advantage either way (typedef vs. named struct), so do whatever causes the least amount of typing at this point.



LinkBack URL
About LinkBacks



