[LinuxBIOS] #40: Decide on common header #ifndef names or standards for usage

LinuxBIOS svn at openbios.org
Thu Nov 9 23:11:04 CET 2006


#40: Decide on common header #ifndef names or standards for usage
-----------------------------+----------------------------------------------
     Reporter:  uwe          |          Owner:  uwe              
         Type:  enhancement  |         Status:  new              
     Priority:  minor        |      Milestone:  Cosmetic fixes   
    Component:  code         |        Version:  v2               
     Keywords:               |      Due_close:  MM/DD/YYYY       
Include_gantt:  0            |   Dependencies:                   
   Due_assign:  MM/DD/YYYY   |    Patchstatus:  there is no patch
-----------------------------+----------------------------------------------
 We have lots of variations for "include guards" in the code:

 {{{
 _FOO
 _FOO_H
 __FOO_H
 __FOO_H__
 _FOO_H_
 __FOO_DEFINED
 ...
 }}}

 Is there a special convention or agreement on when to use which? If yes,
 it should be documented. If no, we should standardize on one format and
 use it consistently.

-- 
Ticket URL: <http://tracker.linuxbios.org/trac/LinuxBIOS/ticket/40>
LinuxBIOS <http://www.linuxbios.org/>


More information about the coreboot mailing list