summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/rpc_soc.c
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-04-02 21:41:44 +0000
committeriedowse <iedowse@FreeBSD.org>2001-04-02 21:41:44 +0000
commit71cbcd965f8e9ecac7eedfb8f6244f16f65bd44e (patch)
treec95bb1cef5630364103e08d5eed291b94ee564fb /lib/libc/rpc/rpc_soc.c
parent0aa303fdebd0a6c24fe18f847fd3e33a65c5f01c (diff)
downloadFreeBSD-src-71cbcd965f8e9ecac7eedfb8f6244f16f65bd44e.zip
FreeBSD-src-71cbcd965f8e9ecac7eedfb8f6244f16f65bd44e.tar.gz
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
Diffstat (limited to 'lib/libc/rpc/rpc_soc.c')
-rw-r--r--lib/libc/rpc/rpc_soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/rpc_soc.c b/lib/libc/rpc/rpc_soc.c
index 4d80f00..b342cce 100644
--- a/lib/libc/rpc/rpc_soc.c
+++ b/lib/libc/rpc/rpc_soc.c
@@ -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>
OpenPOWER on IntegriCloud