Re: Automatically prototype C functions?
Re: Automatically prototype C functions?
- Subject: Re: Automatically prototype C functions?
- From: Sean McBride <email@hidden>
- Date: Thu, 16 Jun 2011 17:24:03 -0400
- Organization: Rogue Research Inc.
On Thu, 16 Jun 2011 17:21:01 -0400, Feifan Zhou said:
>Is there a way for Xcode 4 to automatically generate prototypes for C
>functions? The compiler catches them and generates warnings—prototyping
>automatically just seems like the next step.
I think I know the warning you're talking about. Are these C function private to your .c file? If so, you should declare them as static, then they stay private to the translation unit and there'll be no warning.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden