aboutsummaryrefslogtreecommitdiffstats
path: root/iwyu
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2024-01-10 11:17:08 +0100
committerDaniel Lange <DLange@git.local>2024-01-10 11:17:08 +0100
commite7372d18a1a661d8c3dba9f51e1f17b5f94171a7 (patch)
treee8270dd60ec096bee8157dbadf029e15ed584592 /iwyu
parent937052b231259a47d881d539ad5748245ef55b99 (diff)
downloaddebian_htop-e7372d18a1a661d8c3dba9f51e1f17b5f94171a7.tar.gz
debian_htop-e7372d18a1a661d8c3dba9f51e1f17b5f94171a7.tar.bz2
debian_htop-e7372d18a1a661d8c3dba9f51e1f17b5f94171a7.zip
New upstream version 3.3.0
Diffstat (limited to 'iwyu')
-rw-r--r--iwyu/htop.imp9
-rwxr-xr-xiwyu/run_iwyu.sh1
2 files changed, 10 insertions, 0 deletions
diff --git a/iwyu/htop.imp b/iwyu/htop.imp
index 1416d74..e2fc72b 100644
--- a/iwyu/htop.imp
+++ b/iwyu/htop.imp
@@ -4,6 +4,13 @@
{ include: ["<ncurses/curses.h>", "private", "\"ProvideCurses.h\"", "public"] },
{ include: ["<ncurses/ncurses.h>", "private", "\"ProvideCurses.h\"", "public"] },
+ { include: ["<term.h>", "private", "\"ProvideTerm.h\"", "public"] },
+ { include: ["<ncurses/term.h>", "private", "\"ProvideTerm.h\"", "public"] },
+ { include: ["<ncursesw/term.h>", "private", "\"ProvideTerm.h\"", "public"] },
+
+ { include: ["<libunwind-x86_64.h>", "private", "<libunwind.h>", "public"] },
+ { include: ["\"ibunwind-x86_64.h\"", "private", "<libunwind.h>", "public"] },
+
{ include: ["<bits/types/struct_tm.h>", "private", "<time.h>", "public"] },
{ include: ["<bits/getopt_core.h>", "private", "<unistd.h>", "public"] },
@@ -21,4 +28,6 @@
{ include: ["<linux/capability.h>", "private", "<sys/capability.h>", "public"] },
{ include: ["<bits/mman-shared.h>", "private", "<sys/mman.h>", "public"] },
+
+ { include: ["<bits/types/struct_sched_param.h>", "private", "<sched.h>", "public"] },
]
diff --git a/iwyu/run_iwyu.sh b/iwyu/run_iwyu.sh
index 6139ebe..8456240 100755
--- a/iwyu/run_iwyu.sh
+++ b/iwyu/run_iwyu.sh
@@ -10,5 +10,6 @@ IWYU=${IWYU:-iwyu}
cd "$SOURCEDIR" || exit
+./configure CC=clang CXX=clang++ --enable-silent-rules
make clean
make -k -s CC="$IWYU" CFLAGS="-Xiwyu --no_comments -Xiwyu --no_fwd_decl -Xiwyu --mapping_file='$SCRIPTDIR/htop.imp' $PKG_NL3"

© 2014-2024 Faster IT GmbH | imprint | privacy policy