]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - inet/getprtname_r.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / inet / getprtname_r.c
index cac6607f2d7768ccc07769bfa819d8af9019b831..3ff90053f847543c292c0cf120d5856a3679220b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 #include <netdb.h>
 
 
-#define LOOKUP_TYPE    struct protoent
-#define FUNCTION_NAME  getprotobyname
-#define DATABASE_NAME  protocols
-#define ADD_PARAMS     const char *name
-#define ADD_VARIABLES  name
+#define LOOKUP_TYPE            struct protoent
+#define FUNCTION_NAME          getprotobyname
+#define DATABASE_NAME          protocols
+#define ADD_PARAMS             const char *name
+#define ADD_VARIABLES          name
+
+/* There is no nscd support for the protocols file.  */
+#undef USE_NSCD
 
 #include "../nss/getXXbyYY_r.c"