1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
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();
|