Skip to content
Snippets Groups Projects
  • Sebastian Huber's avatar
    3c94db20
    gcov: Remove <stdint.h> from libgcov-driver.c · 3c94db20
    Sebastian Huber authored
    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.
    3c94db20
    History
    gcov: Remove <stdint.h> from libgcov-driver.c
    Sebastian Huber authored
    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.