summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/amd64/gen/makectxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/amd64/gen/makectxt.c')
-rw-r--r--usr/src/lib/libc/amd64/gen/makectxt.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/usr/src/lib/libc/amd64/gen/makectxt.c b/usr/src/lib/libc/amd64/gen/makectxt.c
index 1ca4bebd50..5b2ce15313 100644
--- a/usr/src/lib/libc/amd64/gen/makectxt.c
+++ b/usr/src/lib/libc/amd64/gen/makectxt.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.
@@ -19,20 +18,20 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
-
#pragma ident "%Z%%M% %I% %E% SMI"
-#pragma weak makecontext = _makecontext
+#pragma weak _makecontext = makecontext
-#include "synonyms.h"
+#include "lint.h"
#include <stdarg.h>
#include <ucontext.h>
#include <sys/stack.h>
@@ -120,6 +119,6 @@ resumecontext(void)
{
ucontext_t uc;
- getcontext(&uc);
- setcontext(uc.uc_link);
+ (void) getcontext(&uc);
+ (void) setcontext(uc.uc_link);
}