[Glibc-bsd-commits] r2653 - trunk/glibc-ports/kfreebsd

Petr Salinger ps-guest at alioth.debian.org
Mon Jul 20 10:05:15 UTC 2009


Author: ps-guest
Date: 2009-07-20 10:05:14 +0000 (Mon, 20 Jul 2009)
New Revision: 2653

Modified:
   trunk/glibc-ports/kfreebsd/getdomain.c
Log:
another getdomainname() change



Modified: trunk/glibc-ports/kfreebsd/getdomain.c
===================================================================
--- trunk/glibc-ports/kfreebsd/getdomain.c	2009-07-20 08:45:08 UTC (rev 2652)
+++ trunk/glibc-ports/kfreebsd/getdomain.c	2009-07-20 10:05:14 UTC (rev 2653)
@@ -25,7 +25,7 @@
    name and the terminator.  */
 
 int
-__getdomainname (char *name, size_t len)
+getdomainname (char *name, size_t len)
 {
   /* Fetch the "kern.domainname" sysctl value.  */
   int request[2] = { CTL_KERN, KERN_NISDOMAINNAME };
@@ -47,5 +47,4 @@
   name[result_len] = '\0';
   return 0;
 }
-
-weak_alias (__getdomainname, getdomainname)
+libc_hidden_def (getdomainname)




More information about the Glibc-bsd-commits mailing list