What is the meaning of the "extern" keyword when the function is defined in the same place?

Viewed 44

I am working on some embedded "C" code and encountered liberal use of the "extern" keyword in a project that compiles with the gcc+crossworks compiler

I know conventionally what extern would mean. But I don't understand why it was made extern here? Is there some extra meaning that I didn't know about? or is it just a case of someone probably doing a copy/paste and the compiler ignoring the keyword?

e.g.

extern void fnApplicationLanStartup()
{
   // ... code follows
}
0 Answers
Related