summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libresolv-getdomainname.patch
blob: 1d777031a53a82e5e2765e4153a69ed94cba33e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: getdomainname is exposed by our
new default options. This declaration conflicts
the canonical one.
Index: b/usr/src/lib/libresolv/res_init.c
===================================================================
--- a/usr/src/lib/libresolv/res_init.c
+++ b/usr/src/lib/libresolv/res_init.c
@@ -55,12 +55,6 @@
 #include <netinet/if_ether.h>
 #include <arpa/inet.h>
 
-/*
- * Undocumented external function in libnsl
- */
-extern int
-getdomainname(char *, int);
-
 #define	MAXIFS	256
 
 /*