Module Name: src
Committed By: maya
Date: Mon Oct 16 11:38:25 UTC 2017
Modified Files:
src/distrib/sets/lists/comp: mi
src/include: Makefile
Added Files:
src/include: endian.h
Log Message:
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.2151 -r1.2152 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.143 -r1.144 src/include/Makefile
cvs rdiff -u -r0 -r1.1 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.2151 src/distrib/sets/lists/comp/mi:1.2152
--- src/distrib/sets/lists/comp/mi:1.2151 Tue Oct 10 19:31:56 2017
+++ src/distrib/sets/lists/comp/mi Mon Oct 16 11:38:25 2017
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2151 2017/10/10 19:31:56 christos Exp $
+# $NetBSD: mi,v 1.2152 2017/10/16 11:38:25 maya Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -777,6 +777,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.144
--- src/include/Makefile:1.143 Sun Oct 2 17:19:00 2016
+++ src/include/Makefile Mon Oct 16 11:38:25 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.143 2016/10/02 17:19:00 kamil Exp $
+# $NetBSD: Makefile,v 1.144 2017/10/16 11:38:25 maya 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
--- /dev/null Mon Oct 16 11:38:25 2017
+++ src/include/endian.h Mon Oct 16 11:38:25 2017
@@ -0,0 +1,34 @@
+/* $NetBSD: endian.h,v 1.1 2017/10/16 11:38:25 maya 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_ */