#142: inconsistent use of 'extern' in source code / incomplete style guide
-------------------------------------+--------------------------------------
        Reporter:  mfreire           |        Type:  defect      
          Status:  new               |    Priority:  trivial     
       Milestone:                    |   Component:  other       
         Version:  svn/trunk         |    Keywords:  coding style
Operating_system:  All/Non-Specific  |   Blockedby:              
        Blocking:                    |  
-------------------------------------+--------------------------------------
 I have just started hacking away at the source, and I notice that 'extern'
 is used liberally in function declarations within, for example,
 'action.h'. However, all of these functions seem to be declared within
 'action.c'. Should this be fixed?
 (see http://c-faq.com/decl/extern.html). I am beginning to suspect that
 you use it to denote 'externally used' instead of 'externally defined'...

 On a related note, the style guide (http://wiki.wz2100.net/Coding_style)
 and the doxygen documentation do not seem to cover code organization
 issues.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/142>
Warzone 2100 Trac <http://wz2100.net/>
The Warzone 2100 Resurrection Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to