User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Build Identifier: https://fedoraproject.org/wiki/Changes/PortingToModernC https://fedoraproject.org/wiki/Toolchain/PortingToModernC Since cvs hasn't had a release since 2008 (https://savannah.nongnu.org/news/?group=cvs), I'm filing this bug to track changes in Fedora's cvs package to allow it to build as C99. Reproducible: Always
Excuse me, what's the point of adding lib/sighandle.h with SIG_register() declaration, if the same declaration is already made in src/cvs.h: $ grep -Hnr SIG_register lib/sighandle.h:1:extern int SIG_register (int sig, RETSIGTYPE (*fn)()); lib/sighandle.c:173:int SIG_register(sig,fn) [...] src/cvs.h:488:int SIG_register PROTO((int sig, SIGCLEANUPPROC sigcleanup));
Thanks for pointing this out. This is an error on my part. It appears that the creation of the new file itself is an error. I should have included the SIG_deregister declaration in cvs.h. I'll file a PR with the necessary changes.
This should be better: https://src.fedoraproject.org/rpms/cvs/pull-request/3
Thanks. I'm running a build.