head 1.1; access; symbols pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @ * @; 1.1 date 2026.06.20.11.13.44; author nia; state Exp; branches; next ; commitid ezg78wVe1DBxNwKG; desc @@ 1.1 log @xmon: Fix building with GCC 14 and GCC 15. This code makes frequent use of K&Risms such as implicit function declarations, implicit int, etc. Fix a few and force an older C standard to ensure this keeps building. @ text @$NetBSD$ Avoid implicit int, which recent GCC versions no longer like. --- table11.c.orig 2026-06-20 11:10:50.362786795 +0000 +++ table11.c @@@@ -133,6 +133,8 @@@@ DefineValues(type, value, length, ctype, name) DefineValues(type, value, length, ctype, name) TYPE type; long value; + int length; + int ctype; char *name; { ValueListEntryType *p; @