diff options
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/astmm.h | 1 | ||||
-rw-r--r-- | include/asterisk/autoconfig.h.in | 7 | ||||
-rw-r--r-- | include/asterisk/compat.h | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/include/asterisk/astmm.h b/include/asterisk/astmm.h index 6c9a8aeee..83c34bed3 100644 --- a/include/asterisk/astmm.h +++ b/include/asterisk/astmm.h @@ -30,6 +30,7 @@ extern "C" { #ifndef _ASTERISK_ASTMM_H #define _ASTERISK_ASTMM_H +/* IWYU pragma: private, include "asterisk/utils.h" */ #ifndef STANDALONE diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index 17aac1d83..d86ba4a6a 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -2,10 +2,9 @@ #ifndef ASTERISK_AUTOCONFIG_H #define ASTERISK_AUTOCONFIG_H +/* IWYU pragma: private, include "asterisk.h" */ -#include "asterisk/buildopts.h" - - +#include "asterisk/buildopts.h" /* IWYU pragma: export */ /* Define to 1 if internal poll should be used. */ #undef AST_POLL_COMPAT @@ -1381,4 +1380,4 @@ code using `volatile' can become incorrect without. Disable with care. */ #undef volatile -#endif +#endif /* ASTERISK_AUTOCONFIG_H */ diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index c9c99c150..3eb6c96a2 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -15,10 +15,12 @@ * especially those related to header files. */ -#include "asterisk/compiler.h" - #ifndef _COMPAT_H #define _COMPAT_H +/* IWYU pragma: private, include "asterisk.h" */ +/* IWYU pragma: begin_exports */ + +#include "asterisk/compiler.h" #ifndef __STDC_VERSION__ /* flex output wants to find this defined. */ @@ -231,5 +233,5 @@ float roundf(float x); #ifndef NAN #define NAN (0.0/0.0) #endif - +/* IWYU pragma: end_exports */ #endif |