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.01.09.58; author nia; state Exp; branches; next ; commitid MNEvObdXi0snstKG; desc @@ 1.1 log @crashme: 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$ Fix implicit int, which modern GCC no longer likes. --- pddet.c.orig 2026-06-20 01:05:43.757065060 +0000 +++ pddet.c @@@@ -274,6 +274,7 @@@@ int adeltl(a,b) else if (a->delta > b->delta) return(1); else return(0);} +int main(argc,argv) int argc; char **argv; @