Move the #includes of reentrant.h to after the `#include "namespace.h"',

so that the underscored versions of the pthread functions get
declared.  This removes around 300 lines of 'implicit declaration
of XXX' warnings from the output of a libc build with -Wall.

Reviewed by:	Martin Blapp <mb@imp.ch>, alfred
This commit is contained in:
Ian Dowse 2001-04-02 21:41:44 +00:00
parent a7d51bb8c8
commit 9f5afc134f
23 changed files with 23 additions and 23 deletions

View File

@ -33,8 +33,8 @@
/*
* auth_des.c, client-side implementation of DES authentication
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <err.h>
#include <errno.h>
#include <string.h>

View File

@ -44,8 +44,8 @@ static char *sccsid = "@(#)auth_none.c 2.1 88/07/29 4.0 RPCSRC";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <assert.h>
#include <stdlib.h>
#include <rpc/types.h>

View File

@ -48,8 +48,8 @@ static char *sccsid = "@(#)auth_unix.c 2.2 88/08/01 4.0 RPCSRC";
*
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/param.h>
#include <assert.h>

View File

@ -45,8 +45,8 @@ static char sccsid[] = "@(#)clnt_dg.c 1.19 89/03/16 Copyr 1988 Sun Micro";
* Implements a connectionless client side RPC.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/poll.h>
#include <sys/types.h>
#include <sys/time.h>

View File

@ -40,8 +40,8 @@ static char *rcsid = "$FreeBSD$";
/*
* Copyright (c) 1986-1991 by Sun Microsystems Inc.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@ -47,8 +47,8 @@ static char *rcsid = "$FreeBSD$";
* any interference from the kernal.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <assert.h>
#include <err.h>
#include <stdio.h>

View File

@ -44,8 +44,8 @@ static char *rcsid = "$FreeBSD$";
*
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/param.h>
#include <stdio.h>
#include <errno.h>

View File

@ -56,8 +56,8 @@ static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro";
* Now go hang yourself.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/poll.h>
#include <sys/syslog.h>

View File

@ -40,8 +40,8 @@ static char sccsid[] = "@(#)getnetconfig.c 1.12 91/12/19 SMI";
* Copyright (c) 1989 by Sun Microsystems, Inc.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/cdefs.h>
#include <stdio.h>
#include <errno.h>

View File

@ -46,8 +46,8 @@ static char rcsid[] =
* gendeskey(deskey) - generate a secure des key
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -3,8 +3,8 @@
/* #pragma ident "@(#)mt_misc.c 1.24 93/04/29 SMI" */
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <rpc/rpc.h>
#include <sys/time.h>
#include <stdlib.h>

View File

@ -40,8 +40,8 @@
*
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>

View File

@ -55,8 +55,8 @@ static char sccsid[] = "@(#)rpc_soc.c 1.41 89/05/02 Copyr 1988 Sun Micro";
* of TLI/Streams
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>

View File

@ -49,8 +49,8 @@ static char sccsid[] = "@(#)rpcb_clnt.c 1.30 89/06/21 Copyr 1988 Sun Micro";
* Copyright (C) 1988, Sun Microsystems, Inc.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>

View File

@ -45,8 +45,8 @@ static char *rcsid = "$FreeBSD$";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/poll.h>
#include <assert.h>

View File

@ -46,8 +46,8 @@ static const char rcsid[] = "$FreeBSD$";
*
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <rpc/rpc.h>
#include <stdlib.h>

View File

@ -46,8 +46,8 @@
*
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>

View File

@ -43,8 +43,8 @@
* Does some caching in the hopes of achieving execute-at-most-once semantics.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <rpc/rpc.h>

View File

@ -47,8 +47,8 @@ static char sccsid[] = "@(#)svc_generic.c 1.21 89/02/28 Copyr 1988 Sun Micro";
*
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@ -49,8 +49,8 @@ static char *rcsid = "$FreeBSD$";
*
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <rpc/rpc.h>
#include <sys/types.h>
#include <rpc/raw.h>

View File

@ -40,8 +40,8 @@ static char *rcsid = "$FreeBSD$";
* This is the rpc server side idle loop
* Wait for input, call server program.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <err.h>
#include <errno.h>
#include <rpc/rpc.h>

View File

@ -47,8 +47,8 @@
* for the given prognum and procnum.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <rpc/rpc.h>
#include <rpc/nettype.h>

View File

@ -44,8 +44,8 @@ static char *sccsid = "@(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC";
* and a record/tcp stream.
*/
#include "reentrant.h"
#include "namespace.h"
#include "reentrant.h"
#include <sys/types.h>
#include <sys/param.h>
#include <sys/poll.h>