Global only recognizes function definitions and references, and
the distinction is left to the parsers of Global. The present C
parser does not recognize function's prototype as a definition.
To get the output you want, you need to rewrite the parser to
recognize function's prototypes as definitions.

Regards,
Shigio

2020年10月1日(木) 6:15 Gautam Thaker <[email protected]>:
>
> In C  I have a use case where I want to find a function's definition, but if 
> one does not exist i want to find the function's prototype (aka declaration). 
> At present, if I don't have a definition I cycle thru all call and prototype 
> declarations, but not in any particular order. How can I restrict my search 
> to just function prototypes?
>
> Thanks.



-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB

Reply via email to