aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/rpc/svc_vc.c
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2001-04-02 21:41:44 +0000
committerIan Dowse <iedowse@FreeBSD.org>2001-04-02 21:41:44 +0000
commit9f5afc134f0b1f87d1e6dfcaff8452332b12bf5c (patch)
treed315e08adb778e394a4f146ec7b78f3a29f3e72f /lib/libc/rpc/svc_vc.c
parenta7d51bb8c8dbe9b442bd20578893ead05024f6ce (diff)
downloadsrc-9f5afc134f0b1f87d1e6dfcaff8452332b12bf5c.tar.gz
src-9f5afc134f0b1f87d1e6dfcaff8452332b12bf5c.zip
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
Notes
Notes: svn path=/head/; revision=75094
Diffstat (limited to 'lib/libc/rpc/svc_vc.c')
-rw-r--r--lib/libc/rpc/svc_vc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_vc.c b/lib/libc/rpc/svc_vc.c
index e867bf1501d7..052678b49537 100644
--- a/lib/libc/rpc/svc_vc.c
+++ b/lib/libc/rpc/svc_vc.c
@@ -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>