Module Name: src
Committed By: christos
Date: Fri Aug 6 15:21:50 UTC 2010
Modified Files:
src/lib/libpthread: pthread_attr.c
Log Message:
move namespace protection before inclusion.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libpthread/pthread_attr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread_attr.c
diff -u src/lib/libpthread/pthread_attr.c:1.14 src/lib/libpthread/pthread_attr.c:1.15
--- src/lib/libpthread/pthread_attr.c:1.14 Fri Aug 6 10:23:06 2010
+++ src/lib/libpthread/pthread_attr.c Fri Aug 6 11:21:50 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_attr.c,v 1.14 2010/08/06 14:23:06 christos Exp $ */
+/* $NetBSD: pthread_attr.c,v 1.15 2010/08/06 15:21:50 christos Exp $ */
/*-
* Copyright (c) 2001, 2002, 2003, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_attr.c,v 1.14 2010/08/06 14:23:06 christos Exp $");
+__RCSID("$NetBSD: pthread_attr.c,v 1.15 2010/08/06 15:21:50 christos Exp $");
#include <errno.h>
#include <stdio.h>
@@ -38,13 +38,13 @@
#include <string.h>
#include <unistd.h>
-#include "pthread.h"
-#include "pthread_int.h"
-
#ifndef __lint__
#define pthread_attr_get_np _pthread_attr_get_np
#endif
+#include "pthread.h"
+#include "pthread_int.h"
+
__weak_alias(pthread_attr_get_np, _pthread_attr_get_np)
static struct pthread_attr_private *pthread__attr_init_private(