Deleted Added
full compact
mt_misc.c (92990) mt_misc.c (111010)
1/* $NetBSD: mt_misc.c,v 1.1 2000/06/02 23:11:11 fvdl Exp $ */
2
3/* #pragma ident "@(#)mt_misc.c 1.24 93/04/29 SMI" */
4
5#include <sys/cdefs.h>
1/* $NetBSD: mt_misc.c,v 1.1 2000/06/02 23:11:11 fvdl Exp $ */
2
3/* #pragma ident "@(#)mt_misc.c 1.24 93/04/29 SMI" */
4
5#include <sys/cdefs.h>
6__FBSDID("$FreeBSD: head/lib/libc/rpc/mt_misc.c 92990 2002-03-22 23:18:37Z obrien $");
6__FBSDID("$FreeBSD: head/lib/libc/rpc/mt_misc.c 111010 2003-02-16 17:29:11Z nectar $");
7
8#include "namespace.h"
9#include "reentrant.h"
10#include <rpc/rpc.h>
11#include <sys/time.h>
12#include <stdlib.h>
7
8#include "namespace.h"
9#include "reentrant.h"
10#include <rpc/rpc.h>
11#include <sys/time.h>
12#include <stdlib.h>
13#include <string.h>
13#include "un-namespace.h"
14
15/* protects the services list (svc.c) */
16pthread_rwlock_t svc_lock = PTHREAD_RWLOCK_INITIALIZER;
17
18/* protects svc_fdset and the xports[] array */
19pthread_rwlock_t svc_fd_lock = PTHREAD_RWLOCK_INITIALIZER;
20

--- 104 unchanged lines hidden ---
14#include "un-namespace.h"
15
16/* protects the services list (svc.c) */
17pthread_rwlock_t svc_lock = PTHREAD_RWLOCK_INITIALIZER;
18
19/* protects svc_fdset and the xports[] array */
20pthread_rwlock_t svc_fd_lock = PTHREAD_RWLOCK_INITIALIZER;
21

--- 104 unchanged lines hidden ---