aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd-dbus/strverscmp.patch
blob: 70507b77e3ea24e5d15485e2a2ee424a9679ed05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- old/dhcpcd.c
+++ new/dhcpcd.c
@@ -664,8 +664,7 @@
 	return list;
 }
 
-#ifndef __GLIBC__
-/* Good enough for our needs */
+/*
 static int
 strverscmp(const char *s1, const char *s2)
 {
@@ -687,7 +686,7 @@
 		return r;
 	return s1part - s2part;
 }
-#endif
+*/
 
 void
 dhcpcd_init(_unused void *data)