From 3787fc242cf7af5bb141ff46913c14e30f0e1c9c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 26 Nov 2024 21:57:04 +0000 Subject: avoid () decls for C23; from Sam James git-svn-id: svn://tug.org/texlive/trunk@72980 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/xdvik/ChangeLog | 11 +++++++++++ Build/source/texk/xdvik/dvi-draw.c | 3 --- Build/source/texk/xdvik/gui/menu.c | 4 ++-- Build/source/texk/xdvik/gui/menu.h | 2 +- Build/source/texk/xdvik/gui/sfDraw.c | 1 - Build/source/texk/xdvik/gui/sfDraw.h | 2 +- Build/source/texk/xdvik/gui/sfSelFile.c | 2 +- Build/source/texk/xdvik/squeeze/squeeze.c | 1 - 8 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Build/source/texk/xdvik/ChangeLog b/Build/source/texk/xdvik/ChangeLog index 178ee39a084..df40eea406b 100644 --- a/Build/source/texk/xdvik/ChangeLog +++ b/Build/source/texk/xdvik/ChangeLog @@ -1,3 +1,14 @@ +2024-11-26 Sam James + + * dvi-draw.c (lseek,pow): remove () declarations, incompatible + with C23. + * gui/menu.c, + * gui/sfDraw.c, + * gui/sfDraw.h, + * gui/sfSelFile.c: avoid () decls. + https://tug.org/pipermail/tex-live/2024-November/050931.html + https://tug.org/pipermail/tex-live/2024-November/050930.html + 2023-02-02 Florian Weimer * m4/xdvi-func-setsid-in-fork.m4.c99-4: avoid implicit diff --git a/Build/source/texk/xdvik/dvi-draw.c b/Build/source/texk/xdvik/dvi-draw.c index c938508d00f..afa481726cb 100644 --- a/Build/source/texk/xdvik/dvi-draw.c +++ b/Build/source/texk/xdvik/dvi-draw.c @@ -198,7 +198,6 @@ bmUnitT bit_masks[] = { #ifdef VMS #define off_t int #endif -extern off_t lseek(); #ifndef SEEK_SET /* if is not provided (or for 3 || (in = (argc < 2 ? stdin : fopen(argv[1], "r"))) == NULL || (out = (argc < 3 ? stdout : fopen(argv[2], "w"))) == NULL) { -- cgit v1.2.3