summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2022-08-24 19:36:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2022-08-24 19:36:56 +0000
commitf7ea00d5a36bf042ef394bbd56e3972ff6d2968b (patch)
tree796899a93a7a4aeaea99ff1741b05ddb6b0af53b /sys/arch/landisk
parentac0052cf3a7d22c525897bddd0b1d4935fb4f00a (diff)
Add missing licence, from nonaka@netbsd.org
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/stand/boot/getsecs.c31
1 files changed, 29 insertions, 2 deletions
diff --git a/sys/arch/landisk/stand/boot/getsecs.c b/sys/arch/landisk/stand/boot/getsecs.c
index 445278e1e87..457386e8ade 100644
--- a/sys/arch/landisk/stand/boot/getsecs.c
+++ b/sys/arch/landisk/stand/boot/getsecs.c
@@ -1,6 +1,33 @@
-/* $OpenBSD: getsecs.c,v 1.5 2022/08/24 17:35:15 miod Exp $ */
-/* $NetBSD: getsecs.c,v 1.2 2006/09/11 13:48:57 nonaka Exp $ */
+/* $OpenBSD: getsecs.c,v 1.6 2022/08/24 19:36:55 miod Exp $ */
+/* $NetBSD: getsecs.c,v 1.4 2022/08/24 14:22:35 nonaka Exp $ */
+/*-
+ * Copyright (c) 2005 NONAKA Kimihiro
+ * 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 REGENTS 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 REGENTS 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.
+ */
+
+#include <sys/param.h>
#include <sys/param.h>
#include <libsa.h>