diff options
Diffstat (limited to 'usr/src/lib/libc/port/sys/exacctsys.c')
-rw-r--r-- | usr/src/lib/libc/port/sys/exacctsys.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/src/lib/libc/port/sys/exacctsys.c b/usr/src/lib/libc/port/sys/exacctsys.c index 017545c262..78780b164a 100644 --- a/usr/src/lib/libc/port/sys/exacctsys.c +++ b/usr/src/lib/libc/port/sys/exacctsys.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,18 +18,19 @@ * * 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 getacct = _getacct -#pragma weak putacct = _putacct -#pragma weak wracct = _wracct +#pragma weak _getacct = getacct +#pragma weak _putacct = putacct +#pragma weak _wracct = wracct -#include "synonyms.h" +#include "lint.h" #include <sys/types.h> #include <sys/syscall.h> #include <sys/procset.h> @@ -42,7 +42,7 @@ getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize) int error; error = __systemcall(&rval, SYS_exacctsys, - 0, idtype, id, buf, bufsize, 0); + 0, idtype, id, buf, bufsize, 0); if (error) (void) __set_errno(error); return ((size_t)rval.sys_rval1); |