]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - misc/getdomain.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / misc / getdomain.c
index c8d1527a72f636fc4a6f86723092da040296af5c..c9faef9dba0a4b31f35e155bcd553924ed38208a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994,95,97,2000,02 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 /* Put the name of the current YP domain in no more than LEN bytes of NAME.
    The result is null-terminated if LEN is large enough for the full
@@ -29,9 +29,7 @@
 /* The `uname' information includes the domain name.  */
 
 int
-getdomainname (name, len)
-    char *name;
-    size_t len;
+getdomainname (char *name, size_t len)
 {
   struct utsname u;
   size_t u_len;
@@ -47,16 +45,13 @@ getdomainname (name, len)
 #else
 
 int
-getdomainname (name, len)
-     char *name;
-     size_t len;
+getdomainname (char *name, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 
 stub_warning (getdomainname)
-#include <stub-tag.h>
 
 #endif