summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/sparc/gen
diff options
context:
space:
mode:
authorraf <none@none>2005-11-29 11:51:21 -0800
committerraf <none@none>2005-11-29 11:51:21 -0800
commit0ec5755428223b8105e488e8fddc19de4db26521 (patch)
treeb591b7b19a02be3744f72bcb43264ff1a64ebc97 /usr/src/lib/libc/sparc/gen
parentafd1ac7b1c9a8cdf273c865aa5e9a14620341443 (diff)
downloadillumos-joyent-0ec5755428223b8105e488e8fddc19de4db26521.tar.gz
6350867 gcc and libc don't get along on sparc
--HG-- rename : usr/src/lib/libc/amd64/threads/inlines.s => deleted_files/usr/src/lib/libc/amd64/threads/inlines.s rename : usr/src/lib/libc/i386/threads/inlines.s => usr/src/lib/libc/i386/gen/_divdi3.s
Diffstat (limited to 'usr/src/lib/libc/sparc/gen')
-rw-r--r--usr/src/lib/libc/sparc/gen/getctxt.c6
-rw-r--r--usr/src/lib/libc/sparc/gen/swapctxt.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/lib/libc/sparc/gen/getctxt.c b/usr/src/lib/libc/sparc/gen/getctxt.c
index d751462234..a7fe3ebc58 100644
--- a/usr/src/lib/libc/sparc/gen/getctxt.c
+++ b/usr/src/lib/libc/sparc/gen/getctxt.c
@@ -19,12 +19,12 @@
*
* CDDL HEADER END
*/
+
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
-
/*
- * Copyright 1996-2003 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -34,9 +34,9 @@
#pragma weak getcontext = _getcontext
#include "synonyms.h"
+#include "thr_uberdata.h"
#include <ucontext.h>
#include <sys/types.h>
-#include "libc.h"
int
getcontext(ucontext_t *ucp)
diff --git a/usr/src/lib/libc/sparc/gen/swapctxt.c b/usr/src/lib/libc/sparc/gen/swapctxt.c
index 881ff7b638..ed77d3042b 100644
--- a/usr/src/lib/libc/sparc/gen/swapctxt.c
+++ b/usr/src/lib/libc/sparc/gen/swapctxt.c
@@ -19,12 +19,12 @@
*
* CDDL HEADER END
*/
+
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
-
/*
- * Copyright 1996-2003 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -33,9 +33,9 @@
#pragma weak swapcontext = _swapcontext
#include "synonyms.h"
+#include "thr_uberdata.h"
#include <ucontext.h>
#include <sys/types.h>
-#include "libc.h"
int
swapcontext(ucontext_t *oucp, const ucontext_t *nucp)