diff options
Diffstat (limited to 'usr/src/lib/libc/port/sys/ppriv.c')
| -rw-r--r-- | usr/src/lib/libc/port/sys/ppriv.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr/src/lib/libc/port/sys/ppriv.c b/usr/src/lib/libc/port/sys/ppriv.c index 6ab4add91e..6a1992c38c 100644 --- a/usr/src/lib/libc/port/sys/ppriv.c +++ b/usr/src/lib/libc/port/sys/ppriv.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,19 +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. */ #pragma ident "%Z%%M% %I% %E% SMI" -#pragma weak setppriv = _setppriv -#pragma weak getppriv = _getppriv -#pragma weak setpflags = _setpflags -#pragma weak getpflags = _getpflags +#pragma weak _setppriv = setppriv +#pragma weak _getppriv = getppriv +#pragma weak _setpflags = setpflags +#pragma weak _getpflags = getpflags -#include "synonyms.h" +#include "lint.h" #include <sys/types.h> #include <sys/syscall.h> #include "priv_private.h" @@ -76,7 +76,7 @@ int setpflags(uint_t flag, uint_t val) { return (syscall(SYS_privsys, PRIVSYS_SETPFLAGS, (priv_op_t)flag, - (priv_ptype_t)(uintptr_t)val, 0, 0)); + (priv_ptype_t)(uintptr_t)val, 0, 0)); } uint_t |
