Fix sprintf that should be snprintf
Fix sprintf that should be snprintf
Fix compilation with GCC 15
Fix missing prototypes
Fix variables declared with implicit int type
Fix -fno-common problems
Fix build with GCC 15
A better fix is just to change the type of l to socklen_t: https://offog.org/git/garstow/media/libcddb/patches/gcc-15.diff The pointer cast will silently give the wrong behaviour if the types aren't the same (and strictly it's UB in modern C).