summaryrefslogtreecommitdiff
path: root/usr/src/ucblib
diff options
context:
space:
mode:
authorScott Rotondo <Scott.Rotondo@Sun.COM>2009-05-21 22:03:24 -0700
committerScott Rotondo <Scott.Rotondo@Sun.COM>2009-05-21 22:03:24 -0700
commitd67944fbe3fa0b31893a7116a09b0718eecf6078 (patch)
tree89b9d2ec857c47e00acc2668cbdafa2edce45b14 /usr/src/ucblib
parent259105bc352a464b4cdf3f424b5575e5e5e3f247 (diff)
downloadillumos-gate-d67944fbe3fa0b31893a7116a09b0718eecf6078.tar.gz
6795209 Enable compilation of ON-consolidation with GCC 4.2
6392640 rpcgen -h -T output does not compile with gcc 4.x --HG-- rename : usr/src/stand/lib/fs/nfs/pathname.h => usr/src/stand/lib/fs/nfs/st_pathname.h
Diffstat (limited to 'usr/src/ucblib')
-rw-r--r--usr/src/ucblib/libucb/i386/sys/signal.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr/src/ucblib/libucb/i386/sys/signal.c b/usr/src/ucblib/libucb/i386/sys/signal.c
index 2afb74cd34..0e9001704b 100644
--- a/usr/src/ucblib/libucb/i386/sys/signal.c
+++ b/usr/src/ucblib/libucb/i386/sys/signal.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.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -43,8 +42,6 @@
* mask |= sigmask(i)
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <ucontext.h>
#include <signal.h>
@@ -84,10 +81,10 @@ int ucbsiginterrupt(int, int);
* and then calls the real handler
*/
+static void ucbsigvechandler();
void
_sigvechandler(int sig, siginfo_t *sip, ucontext_t *ucp)
{
- static void ucbsigvechandler();
ucbsigvechandler(sig, sip, ucp);
}
@@ -376,7 +373,7 @@ ucbsignal(int s, void (*a)()))()
if (nsv.sv_mask != osv.sv_mask || nsv.sv_flags != osv.sv_flags) {
mask[s] = nsv.sv_mask = osv.sv_mask;
flags[s] = nsv.sv_flags =
- osv.sv_flags & ~(SV_RESETHAND|SV_INTERRUPT);
+ osv.sv_flags & ~(SV_RESETHAND|SV_INTERRUPT);
if (ucbsigvec(s, &nsv, (struct sigvec *)0) < 0)
return (SIG_ERR);
}