Files
gentoo/sci-libs/plplot/files/plplot-5.15.0_p15-sighandler_t.patch
2026-02-03 16:50:36 +01:00

16 lines
341 B
Diff

--- a/drivers/test-drv-info.c
+++ b/drivers/test-drv-info.c
@@ -36,10 +36,10 @@
#define DRVSPEC_LEN 400
// function prototype
-RETSIGTYPE catch_segv( int sig );
+void catch_segv( int sig );
// SEGV signal handler
-RETSIGTYPE
+void
catch_segv( int PL_UNUSED( sig ) )
{
fprintf( stderr, "libltdl error: %s\n", lt_dlerror() );