Mercurial > illumos > illumos-gate
changeset 12970:7d727ba2f201
6863313 $SRC/uts/common/c2/{adr,audit,audit_mem}.c aren't cstyle clean
author | Marek Pospisil <Marek.Pospisil@Sun.COM> |
---|---|
date | Thu, 29 Jul 2010 11:58:13 -0700 |
parents | 9d6fa5bd011f |
children | 52a0d8a59353 |
files | usr/src/uts/common/c2/adr.c |
diffstat | 1 files changed, 7 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/c2/adr.c Thu Jul 29 11:50:23 2010 -0700 +++ b/usr/src/uts/common/c2/adr.c Thu Jul 29 11:58:13 2010 -0700 @@ -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,12 +19,9 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * Adr memory based encoding */ @@ -97,7 +93,7 @@ for (; count-- > 0; lp++) { for (i = 0, l = *lp; i < 4; i++) { *adr->adr_now++ = (char)((l & (int32_t)0xff000000) >> - (int)24); + (int)24); l <<= (int)8; } } @@ -114,8 +110,9 @@ for (; count-- > 0; lp++) { for (i = 0, l = *lp; i < 8; i++) { - *adr->adr_now++ = - (char)((l & (int64_t)0xff00000000000000) >> (int)56); + *adr->adr_now++ = + (char)((l & (int64_t)0xff00000000000000) >> + (int)56); l <<= (int)8; } }