From 4c5dd2a2071c60eaa2d36f8a000fb90a5a5a5813 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 22 Apr 2003 19:52:59 +0000 Subject: Update. 2003-04-22 Ulrich Drepper * nscd/nscd-client.h: Add declaration for __nscd_open_socket. * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from open_socket. Not static anymore. (nscd_gethst_r): Use __nscd_open_socket. * nscd/nscd_getgr_r.c (open_socket): Removed. (nscd_getgr_r): Use __nscd_open_socket. * nscd/nscd_getpw_r.c (open_socket): Removed. (nscd_getpw_r): Use __nscd_open_socket. * nscd/nscd.c (main): Change type of fdn to long int and use strtol. * nscd/connections.c (handle_request): Add cast to avoid warning. --- nscd/nscd-client.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nscd/nscd-client.h') diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h index 8e00df5637..be3bc2ffb9 100644 --- a/nscd/nscd-client.h +++ b/nscd/nscd-client.h @@ -1,4 +1,4 @@ -/* Copyright (c) 1998, 1999, 2000 Free Software Foundation, Inc. +/* Copyright (c) 1998, 1999, 2000, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk , 1998. @@ -110,4 +110,7 @@ typedef struct } hst_response_header; +/* Open socket connection to nscd server. */ +extern int __nscd_open_socket (void) attribute_hidden; + #endif /* nscd.h */ -- cgit v1.2.1