summaryrefslogtreecommitdiff
path: root/net-analyzer/dhcp_probe/files/dhcp_probe-1.3.1-gcc15.patch
blob: 30ef8ab179f1a385a3fbb62508ac4aafa614097a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Fix build with GCC 15
https://bugs.gentoo.org/945196

--- a/src/report.c
+++ b/src/report.c
@@ -253,8 +253,6 @@ get_errmsg()
 {
 /*	Return pointer to static string which gives full filesystem error message.
 */
-	extern int errno;
-	extern char *strerror();
 
 	return strerror(errno);
 }