Skip to content

Commit 3dfd138

Browse files
author
jan.nijtmans
committed
More IWYU pragma's (for all *Decls.h files)
1 parent 4344f81 commit 3dfd138

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

generic/tkInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ void Tcl_Panic(const char *, ...) __attribute__((analyzer_noreturn));
10871087
* Exported internals.
10881088
*/
10891089

1090-
#include "tkIntDecls.h"
1090+
#include "tkIntDecls.h" /* IWYU pragma: export */
10911091

10921092
#ifdef __cplusplus
10931093
extern "C" {

generic/ttk/ttkTheme.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ MODULE_SCOPE int TtkEnumerateHashTable(Tcl_Interp *, Tcl_HashTable *);
433433
* +++ Stub table declarations.
434434
*/
435435

436-
#include "ttkDecls.h"
436+
#include "ttkDecls.h" /* IWYU pragma: export */
437437

438438
/*
439439
* Drawing utilities for theme code:

macosx/tkMacOSX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ typedef int (Tk_MacOSXEmbedMakeContainerExistProc) (Tk_Window window);
2929
typedef void (Tk_MacOSXEmbedGetClipProc) (Tk_Window window, void *rgn);
3030
typedef void (Tk_MacOSXEmbedGetOffsetInParentProc) (Tk_Window window, void *ulCorner);
3131

32-
#include "tkPlatDecls.h"
32+
#include "tkPlatDecls.h" /* IWYU pragma: export */
3333

3434
#endif /* _TKMAC */

macosx/tkMacOSXInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ MODULE_SCOPE Bool TkTestLogDisplay(Drawable drawable);
184184
* Include the stubbed internal platform-specific API.
185185
*/
186186

187-
#include "tkIntPlatDecls.h"
187+
#include "tkIntPlatDecls.h" /* IWYU pragma: export */
188188

189189
#endif /* _TKMACINT */
190190

unix/tkUnixInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* they're defined in.
2323
*/
2424

25-
#include "tkIntPlatDecls.h"
25+
#include "tkIntPlatDecls.h" /* IWYU pragma: export */
2626

2727
#endif /* _TKUNIXINT */
2828

unix/tkUnixPort.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
#endif
116116

117117
#ifdef __CYGWIN__
118-
# include "tkIntXlibDecls.h"
118+
# include "tkIntXlibDecls.h" /* IWYU pragma: export */
119119
# define UINT unsigned int
120120
# define HWND void *
121121
# define HDC void *

win/tkWin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@
7676
*--------------------------------------------------------------
7777
*/
7878

79-
#include "tkPlatDecls.h"
79+
#include "tkPlatDecls.h" /* IWYU pragma: export */
8080

8181
#endif /* _TKWIN */

win/tkWin32Dll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "tkWinInt.h"
1313
#ifndef STATIC_BUILD
1414

15-
#ifdef HAVE_NO_SEH
15+
#if defined(HAVE_NO_SEH) && !defined(__aarch64__)
1616

1717
/*
1818
* Unlike Borland and Microsoft, we don't register exception handlers by

win/tkWinInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ MODULE_SCOPE const int tkpWinBltModes[];
140140
* Internal functions used by more than one source file.
141141
*/
142142

143-
#include "tkIntPlatDecls.h"
143+
#include "tkIntPlatDecls.h" /* IWYU pragma: export */
144144

145145
/*
146146
* Special proc needed as tsd accessor function between

xlib/X11/Xlib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ typedef void (*XConnectionWatchProc)(
13931393
XPointer* /* watch_data */ /* open sets, close uses */
13941394
);
13951395

1396-
#include "tkIntXlibDecls.h"
1396+
#include "tkIntXlibDecls.h" /* IWYU pragma: export */
13971397

13981398
#ifdef __clang__
13991399
#pragma clang diagnostic pop

0 commit comments

Comments
 (0)