C prototype warning
C prototype warning
- Subject: C prototype warning
- From: "James W. Walker" <email@hidden>
- Date: Sun, 9 Dec 2007 22:43:06 -0800
When I compile the following C code with Xcode 3, I get a warning,
"'bar' was used with no prototype before its definition". Since the
very first thing here is a prototype of bar, I don't get it.
static void bar();
static void foo()
{
bar();
}
static void bar()
{
}
_______________________________________________
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