about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-20 18:57:50 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-20 18:57:50 +0000
commitcbba1b889900b8a15252d25600631d5e5cf59188 (patch)
tree76b531abdd9915d309f4b5e977f97183b8dac6ac /include
parentf89bd0e52f765a01be8628f54f5ce3d401bc5d0f (diff)
downloadglibc-cbba1b889900b8a15252d25600631d5e5cf59188.tar.gz
glibc-cbba1b889900b8a15252d25600631d5e5cf59188.tar.xz
glibc-cbba1b889900b8a15252d25600631d5e5cf59188.zip
Update.
2002-04-11  Zack Weinberg  <zack@codesourcery.com>

	* include/rpc/rpc.h (struct rpc_thread_variables): Remove
	authnone_private_s.
	* sunrpc/auth_none.c: Include bits/libc-lock.h.
	Delete #ifdef _RPC_THREAD_SAFE_ block.
	(authnone_private): Make a struct, not a pointer to struct.
	(authnone_private_guard): New once-control variable.
	(authnone_create_once): New function, split out of
	authnone_create.  No need to allocate memory.
	(authnone_create): Just call authnone_create_once via
	__libc_once, then return &authnone_private->no_client.
	(authnone_marshal): Access private data via CLIENT argument,
	not authnone_private pointer.
	Fix typo (MAX_MARSHEL_SIZE -> MAX_MARSHAL_SIZE).
	* sunrpc/rpc_thread.c (__rpc_thread_destroy): No need to free
	authnone_private_s.
Diffstat (limited to 'include')
-rw-r--r--include/rpc/rpc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index f4dee74afe..9f90ae135d 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -16,8 +16,6 @@ struct rpc_thread_variables {
 	struct pollfd	*svc_pollfd_s;		/* Global, rpc_common.c */
 	int		svc_max_pollfd_s;	/* Global, rpc_common.c */
 
-	void		*authnone_private_s;	/* auth_none.c */
-
 	void		*clnt_perr_buf_s;	/* clnt_perr.c */
 
 	void		*clntraw_private_s;	/* clnt_raw.c */