2013/8/15 Stephan Beal <[email protected]>:
> Shouldn't those be +extern for consistency with isatty (or isatty not
> extern)?

See: 
<http://publications.gbdirect.co.uk/c_book/chapter8/declarations_and_definitions.html>
> The default depends on whether the declaration is made outside a function
> (external declarations) or inside a function (internal declarations). For
> external declarations the default storage class specifier will be extern and 
> for
> internal declarations it will be auto. The only exception to this rule is the
> declaration of functions, whose default storage class specifier is always 
> extern.

So, the C-language doesn't care, "extern" is the default anyway. For
readability I would add "extern" to all definitions, but that's a
matter of taste.

Regards,
       Jan Nijtmans
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to