From: Victor Seva <vseva@debian.org>
Date: Thu, 11 Sep 2025 23:09:40 +0200
Subject: fix gcc15 build

---
 tacpluslib/md5.h        |  4 ++--
 tacpluslib/tac_client.c |  2 +-
 tacpluslib/tac_plus.h   | 12 ++++++------
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/tacpluslib/md5.h b/tacpluslib/md5.h
index 371ec88..09d20a2 100644
--- a/tacpluslib/md5.h
+++ b/tacpluslib/md5.h
@@ -44,9 +44,9 @@ typedef unsigned int UINT4;
 typedef unsigned char *POINTER;
 
 /* enable prototyping */
-/* #define PROTO_LIST(x) x */
+#define PROTO_LIST(x) x
 /* disable prototyping */
-#define PROTO_LIST(x) ()
+/* #define PROTO_LIST(x) () */
 
 #endif /* defined(CISCO_MD5_MODS) */
 
diff --git a/tacpluslib/tac_client.c b/tacpluslib/tac_client.c
index a52904c..fc34dac 100644
--- a/tacpluslib/tac_client.c
+++ b/tacpluslib/tac_client.c
@@ -355,7 +355,7 @@ void deinit_tac_session()
 }
 
 
-void report()
+void report(int __pri, const char *__fmt, ...)
 {
 }
 
diff --git a/tacpluslib/tac_plus.h b/tacpluslib/tac_plus.h
index 29b86d6..aed9773 100644
--- a/tacpluslib/tac_plus.h
+++ b/tacpluslib/tac_plus.h
@@ -625,18 +625,18 @@ extern void accounting();
 /* report.c */
 extern void report_string();
 extern void report_hex();
-extern void report();
+extern void report(int __pri, const char *__fmt, ...);
 
 /* packet.c */
 extern u_char *get_authen_continue();
 extern int send_authen_reply();
 
 /* utils.c */
-extern char *tac_malloc();
-extern char *tac_strdup();
-extern char *tac_make_string();
-extern char *tac_find_substring();
-extern char *tac_realloc();
+extern char *tac_malloc(int);
+extern char *tac_strdup(char *);
+extern char *tac_make_string(u_char *, int);
+extern char *tac_find_substring(char *, char *);
+extern char *tac_realloc(char *, int);
 
 /* dump.c */
 extern char *summarise_outgoing_packet_type();
