summaryrefslogtreecommitdiff
path: root/usr/src/lib/libumem/common/stub_stand.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libumem/common/stub_stand.c')
-rw-r--r--usr/src/lib/libumem/common/stub_stand.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/usr/src/lib/libumem/common/stub_stand.c b/usr/src/lib/libumem/common/stub_stand.c
index 7f37261638..add48bcc12 100644
--- a/usr/src/lib/libumem/common/stub_stand.c
+++ b/usr/src/lib/libumem/common/stub_stand.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -21,7 +20,7 @@
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -32,8 +31,6 @@
*/
#include <string.h>
-#include <thread.h>
-
#include "misc.h"
/*ARGSUSED*/
@@ -67,6 +64,13 @@ _cond_broadcast(cond_t *cvp)
return (0);
}
+/*ARGSUSED*/
+int
+_pthread_setcancelstate(int state, int *oldstate)
+{
+ return (0);
+}
+
thread_t
_thr_self(void)
{