diff options
author | Matias Elo <matias.elo@nokia.com> | 2019-10-02 15:48:59 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2019-10-07 09:49:07 +0300 |
commit | 18abf931651e3f21bc858efc2f1df50f24821611 (patch) | |
tree | 5689fa043b8b899a44d444bfb31b5948acc85bb6 /helper/include | |
parent | 60a830b9e000053caab24a0befb578551ba1766b (diff) |
linux-gen: include only ODP defines in autogenerated header files
The config.h file has been split into three parts:
autoheader_build.h: should NOT be included by ANY source file
autoheader_external.h: can be included by any source file, including
public headers
autoheader_internal.h: can be included by any internal source file, but
NOT by public headers
autoheader_external.h and autoheader_internal.h are generated based on
matching template files (*.in) and include only ODP defines.
autoheader_build.h includes all build defines and should not be included
by any source file.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'helper/include')
-rw-r--r-- | helper/include/odp/helper/odph_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/include/odp/helper/odph_debug.h b/helper/include/odp/helper/odph_debug.h index 370a0fa12..2fa89d8ab 100644 --- a/helper/include/odp/helper/odph_debug.h +++ b/helper/include/odp/helper/odph_debug.h @@ -15,7 +15,7 @@ #ifndef ODPH_DEBUG_H_ #define ODPH_DEBUG_H_ -#include <odp/config.h> +#include <odp/autoheader_external.h> #include <stdio.h> #include <stdlib.h> |