Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread move namespace protection before inclusion.
details: https://anonhg.NetBSD.org/src/rev/2ef8a25d98f5
branches: trunk
changeset: 756865:2ef8a25d98f5
user: christos <christos%NetBSD.org@localhost>
date: Fri Aug 06 15:21:50 2010 +0000
description:
move namespace protection before inclusion.
diffstat:
lib/libpthread/pthread_attr.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r f86a29adfb63 -r 2ef8a25d98f5 lib/libpthread/pthread_attr.c
--- a/lib/libpthread/pthread_attr.c Fri Aug 06 15:04:13 2010 +0000
+++ b/lib/libpthread/pthread_attr.c Fri Aug 06 15:21:50 2010 +0000
@@ -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(
Home |
Main Index |
Thread Index |
Old Index