Comment 5 for bug 1882792

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Basically every header file needs to include this boilerplate:

#ifndef _FOO_H
#define _FOO_H
...
#endif

Many files already have this, but also many don't. This command prints a list of them:

find -name "*.h" -exec grep -L "ifndef .*_H" {} +

Maybe at some day I will have time to fix them, but in the mean time merge proposals are welcome.