TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
ASML C Coding Standard
Search

Rule:  5.1.1.1.cChecked automatically with code checker

Synopsis:Naming convention of the include guard of an include file named CCBB_foo.h is of format: CCBB_FOO_H
Language:C
Severity Level:6
Category:Conceptual Models


Description:

Justification

Making the include guards unique, prevents using the same include guard for two different files.

Example

#ifndef CCBB_FOO_H
#define CCBB_FOO_H

<body of the header file, named CCBB_foo.h>

#endif /* CCBB_FOO_H */