Skip to content

build: enhance entry guards in internal header files

Darryl Green requested to merge github/fork/etienne-lms/internal into master

Created by: etienne-lms

Add prefix INTERNAL_ to defined macro for internal header file. This change prevents an internal/foo.h from obscuring generic foo.h because former and later both guards from

#ifndef FOO_H #define FOO_H (...) #endif /FOO_H/

As internal/.h are included with #include <internal/.h>, INTERNAL_ looks a generic enough prefix.

Signed-off-by: Etienne Carriere

Merge request reports