lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 2002-11-01 at 15:43, Pyrogon Public wrote:
> I notice that Lua (and many other open source projects) prefix their
> function prototypes with an "extern" -- is this absolutely necessary?
> What compilers/platforms won't link properly if this is missing?

It's ANSI C.  Many many compilers won't handle it right without the
extern, including GCC with certain options enabled.

> 
> Thanks,
> 
> Brian
>