in reply to Parsing C Functions..

What's your end goal? If you just want to know what global variables are defined in a file, perhaps you can compile it and use objdump from GNU binutils to tell you that info.