diff options
author | Brian Behlendorf <[email protected]> | 2010-05-17 15:18:00 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-05-17 15:18:00 -0700 |
commit | 716154c5926eb391eb8178203496430ffa7ebed8 (patch) | |
tree | 2ee1527e5c1d4db913e2c684cdf9fcf630795b27 /module/spl/spl-xdr.c | |
parent | 8e2140b770152df7aa91e495f11a73308bfc6c13 (diff) |
Public Release Prep
Updated AUTHORS, COPYING, DISCLAIMER, and INSTALL files. Added
standardized headers to all source file to clearly indicate the
copyright, license, and to give credit where credit is due.
Diffstat (limited to 'module/spl/spl-xdr.c')
-rw-r--r-- | module/spl/spl-xdr.c | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/module/spl/spl-xdr.c b/module/spl/spl-xdr.c index 16e42c336..174f76f19 100644 --- a/module/spl/spl-xdr.c +++ b/module/spl/spl-xdr.c @@ -1,22 +1,25 @@ -/* - * This file is part of the SPL: Solaris Porting Layer. +/*****************************************************************************\ + * Copyright (c) 2008-2010 Sun Microsystems, Inc. + * Written by Ricardo Correia <[email protected]> * - * Copyright (c) 2008 Sun Microsystems, Inc. + * This file is part of the SPL, Solaris Porting Layer. + * For details, see <http://github.com/behlendorf/spl/>. * - * This is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * The SPL is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. * - * This is distributed in the hope that it will be useful, but WITHOUT + * The SPL is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ + * with the SPL. If not, see <http://www.gnu.org/licenses/>. + ***************************************************************************** + * Solaris Porting Layer (SPL) XDR Implementation. +\*****************************************************************************/ #include <linux/string.h> @@ -263,7 +266,7 @@ static bool_t xdrmem_enc_char(XDR *xdrs, char *cp) { uint32_t val; - + BUILD_BUG_ON(sizeof(char) != 1); val = *((unsigned char *) cp); |