Blame nscd/getsrvbypt_r.c

Packit Service 82fcde
/* Copyright (C) 1996-2018 Free Software Foundation, Inc.
Packit Service 82fcde
   This file is part of the GNU C Library.
Packit Service 82fcde
   Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
Packit Service 82fcde
Packit Service 82fcde
   This program is free software; you can redistribute it and/or modify
Packit Service 82fcde
   it under the terms of the GNU General Public License as published
Packit Service 82fcde
   by the Free Software Foundation; version 2 of the License, or
Packit Service 82fcde
   (at your option) any later version.
Packit Service 82fcde
Packit Service 82fcde
   This program is distributed in the hope that it will be useful,
Packit Service 82fcde
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 82fcde
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 82fcde
   GNU General Public License for more details.
Packit Service 82fcde
Packit Service 82fcde
   You should have received a copy of the GNU General Public License
Packit Service 82fcde
   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
Packit Service 82fcde
Packit Service 82fcde
#include <netdb.h>
Packit Service 82fcde
Packit Service 82fcde
Packit Service 82fcde
#define LOOKUP_TYPE		struct servent
Packit Service 82fcde
#define FUNCTION_NAME		getservbyport
Packit Service 82fcde
#define DATABASE_NAME		services
Packit Service 82fcde
#define ADD_PARAMS		int port, const char *proto
Packit Service 82fcde
#define ADD_VARIABLES		port, proto
Packit Service 82fcde
Packit Service 82fcde
/* We are nscd, so we don't want to be talking to ourselves.  */
Packit Service 82fcde
#undef	USE_NSCD
Packit Service 82fcde
Packit Service 82fcde
#include "../nss/getXXbyYY_r.c"