gcov: Remove <stdint.h> from libgcov-driver.c
commit3c94db20be9af3cb0376292e2d4672b515558231
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Fri, 6 Aug 2021 07:57:43 +0000 (6 09:57 +0200)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Fri, 6 Aug 2021 10:27:48 +0000 (6 12:27 +0200)
treed495316d2f1d284db065de164813a7f1fade7eb1
parentbc181adf26eae77eacb73d4397ac479dac114d2d
gcov: Remove <stdint.h> from libgcov-driver.c

In the patch to add __gcov_info_to_gcda(), the include of <stdint.h> was added
to libgcov-driver.c even if inhibit_libc is defined.  It turned out that this
header file is not always available.  Remove the include of <stdint.h> and
replace the intptr_t with the compiler provided __INTPTR_TYPE__.

libgcc/

* libgcov-driver.c (#include <stdint.h>): Remove.
(write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
libgcc/libgcov-driver.c