-/* Copyright (c) 1997-2014 Free Software Foundation, Inc.
+/* Copyright (c) 1997-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
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 <errno.h>
#include <string.h>
#include <rpcsvc/nis.h>
+#include <shlib-compat.h>
nis_name
nis_domain_of_r (const_nis_name name, char *buffer, size_t buflen)
return memcpy (buffer, cptr, cptr_len + 1);
}
-libnsl_hidden_def (nis_domain_of_r)
+libnsl_hidden_nolink_def (nis_domain_of_r, GLIBC_2_1)