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 Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
CHK_LIBC_OBJ Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
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 autoupdate: add square brackets around arguments of AC_INIT 2024-06-10 08:25:56 +09:30
descendants.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
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 Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
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 gprofng: Remove unused macros 2024-02-01 13:22:52 -08:00
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 Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
libcol_hwcfuncs.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
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 Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
libgprofng.ver Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
linetrace.c Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
Makefile.am Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Makefile.in Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
memmgr.c gprofng: Remove unused macros 2024-02-01 13:22:52 -08:00
memmgr.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
mmaptrace.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00
profile.c gprofng: remove memset() in libcollector 2024-05-21 19:54:56 -07:00
synctrace.c gprofng: remove memset() in libcollector 2024-05-21 19:54:56 -07:00
tsd.c gprofng: Remove unused macros 2024-02-01 13:22:52 -08:00
tsd.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
unwind.c gprofng: fix -std=gnu23 compatibility wrt unprototyped functions 2024-11-18 05:12:56 +00:00