One thing I came across when browsing the CHDK Doxygen'd documentation (which is quite handy and would be oh so much handier if comments with Doxygen TAGs were used) is that the __attribute__((...)) directives get picked up as function names. Would it be worth attempting to get the c-preprocessor to cull these?