binutils-gdb/gprofng/libcollector
Sam James a2f774427e
gprofng: fix -std=gnu23 compatibility wrt unprototyped functions
C23 removes support for unprototyped functions. Fix function pointer types
accordingly.

This does not fix all instances, there's a few left as I commented on in
PR32374 (e.g. setitimer which I have a local workaround for but it involves
a glibc implementation detail; the Linaro precommit CI tester pointed that
out too, so dropped that).

ChangeLog:
	PR gprofng/32374

	* libcollector/collector.c (collector_sample): Fix prototype.
	* libcollector/envmgmt.c (putenv): Ditto.
	(_putenv): Ditto.
	(__collector_putenv): Ditto.
	(setenv): Ditto.
	(_setenv): Ditto.
	(__collector_setenv): Ditto.
	(unsetenv): Ditto.
	(_unsetenv): Ditto.
	(__collector_unsetenv): Ditto.
	* libcollector/jprofile.c (open_experiment): Ditto.
	(__collector_jprofile_enable_synctrace): Ditto.
	(jprof_find_asyncgetcalltrace): Ditto.
	* libcollector/libcol_util.c (__collector_util_init): Ditto.
	(ARCH): Ditto.
	* libcollector/mmaptrace.c (collector_func_load): Ditto.
	(collector_func_unload): Ditto.
	* libcollector/unwind.c (__collector_ext_unwind_init): Ditto.
	* src/collector_module.h: Ditto.
2024-11-18 05:12:56 +00:00
..
aclocal.m4
CHK_LIBC_OBJ
collector.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00
collector.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
collectorAPI.c Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
configure Change version to 2.43.50 2024-07-20 13:16:33 +01:00
configure.ac
descendants.h
dispatcher.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00
envmgmt.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00
gethrtime.c
heaptrace.c gprofng: specify the heap data collection range 2024-08-12 15:54:59 -07:00
hwprofile.c gprofng: 32018 Compilation of binutils 2.43 failed on CentOS 6 2024-07-30 12:06:26 -07:00
hwprofile.h RISC-V:[gprofng] Minimal support gprofng for riscv. 2024-07-10 15:16:03 -07:00
iolib.c
iotrace.c Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
jprofile.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00
libcol_hwcdrv.c
libcol_hwcfuncs.c
libcol_util.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00
libcol_util.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
libcol-i386-dis.c
libgprofng.ver
linetrace.c Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
Makefile.am
Makefile.in
memmgr.c
memmgr.h
mmaptrace.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00
profile.c
synctrace.c
tsd.c
tsd.h
unwind.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00