aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc.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.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.c')
-rw-r--r--lib/libc/rpc/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c
index 6e57245a4dd5..fe4d37dae9d9 100644
--- a/lib/libc/rpc/svc.c
+++ b/lib/libc/rpc/svc.c
@@ -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>