From d67944fbe3fa0b31893a7116a09b0718eecf6078 Mon Sep 17 00:00:00 2001 From: Scott Rotondo Date: Thu, 21 May 2009 22:03:24 -0700 Subject: 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 --- usr/src/ucblib/libucb/i386/sys/signal.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'usr/src/ucblib') 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 #include #include @@ -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); } -- cgit v1.2.3