Module Name: src Committed By: snj Date: Mon Dec 4 19:48:55 UTC 2017
Modified Files: src/distrib/sets/lists/comp [netbsd-8]: mi src/include [netbsd-8]: Makefile Added Files: src/include [netbsd-8]: endian.h Log Message: Pull up following revision(s) (requested by maya in ticket #416): distrib/sets/lists/comp/mi: revision 1.2152 include/Makefile: revision 1.144 include/endian.h: revision 1.1 Add endian.h header. Simply includes sys/endian.h <endian.h> has been accepted by the austin group. To generate a diff of this commit: cvs rdiff -u -r1.2138.2.3 -r1.2138.2.4 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.143 -r1.143.6.1 src/include/Makefile cvs rdiff -u -r0 -r1.1.2.2 src/include/endian.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/lists/comp/mi diff -u src/distrib/sets/lists/comp/mi:1.2138.2.3 src/distrib/sets/lists/comp/mi:1.2138.2.4 --- src/distrib/sets/lists/comp/mi:1.2138.2.3 Wed Oct 11 22:54:09 2017 +++ src/distrib/sets/lists/comp/mi Mon Dec 4 19:48:55 2017 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.2138.2.3 2017/10/11 22:54:09 snj Exp $ +# $NetBSD: mi,v 1.2138.2.4 2017/12/04 19:48:55 snj Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. ./etc/mtree/set.comp comp-sys-root @@ -775,6 +775,7 @@ ./usr/include/dns_sd.h comp-mdns-include mdns ./usr/include/dwarf.h comp-c-include ./usr/include/elf.h comp-c-include +./usr/include/endian.h comp-c-include ./usr/include/err.h comp-c-include ./usr/include/errno.h comp-c-include ./usr/include/eti.h comp-c-include Index: src/include/Makefile diff -u src/include/Makefile:1.143 src/include/Makefile:1.143.6.1 --- src/include/Makefile:1.143 Sun Oct 2 17:19:00 2016 +++ src/include/Makefile Mon Dec 4 19:48:55 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.143 2016/10/02 17:19:00 kamil Exp $ +# $NetBSD: Makefile,v 1.143.6.1 2017/12/04 19:48:55 snj Exp $ # @(#)Makefile 8.2 (Berkeley) 1/4/94 # Doing a make includes builds /usr/include @@ -8,8 +8,8 @@ NOOBJ= # defined # Missing: mp.h INCS= a.out.h aio.h ar.h assert.h atomic.h \ - bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h \ - db.h dirent.h disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \ + bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h db.h dirent.h \ + disktab.h dlfcn.h endian.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \ fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \ inttypes.h iso646.h kvm.h langinfo.h libgen.h \ limits.h link.h link_aout.h link_elf.h locale.h \ Added files: Index: src/include/endian.h diff -u /dev/null src/include/endian.h:1.1.2.2 --- /dev/null Mon Dec 4 19:48:55 2017 +++ src/include/endian.h Mon Dec 4 19:48:55 2017 @@ -0,0 +1,34 @@ +/* $NetBSD: endian.h,v 1.1.2.2 2017/12/04 19:48:55 snj Exp $ */ + +/*- + * Copyright (c) 2017 The NetBSD Foundation, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _ENDIAN_H_ +#define _ENDIAN_H_ + +#include <sys/endian.h> + +#endif /* !_ENDIAN_H_ */