]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nis/nis_getservlist.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / nis / nis_getservlist.c
index f180bad0dd1d0662d6148e4e5ed055757cc78d33..4b227c59abe64249422cac05c6782523b91f02ff 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 1997-2014 Free Software Foundation, Inc.
+/* Copyright (c) 1997-2020 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
 
    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/>.  */
 
 #include <string.h>
 #include <rpcsvc/nis.h>
+#include <shlib-compat.h>
 
 #include "nis_xdr.h"
 #include "nis_intern.h"
@@ -148,6 +149,7 @@ nis_getservlist (const_nis_name dir)
 
   return serv;
 }
+libnsl_hidden_nolink_def (nis_getservlist, GLIBC_2_1)
 
 void
 nis_freeservlist (nis_server **serv)
@@ -166,3 +168,4 @@ nis_freeservlist (nis_server **serv)
     }
   free (serv);
 }
+libnsl_hidden_nolink_def (nis_freeservlist, GLIBC_2_1)