From 1314328af7dbfff4c7bef46d6ed5fb4383f57310 Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 4 Mar 2021 09:32:49 +0000 Subject: [PATCH] somehow I forgot to add copyright and to include the right prototypes. No actual code change (checked with cmp) --- usr.bin/make/enginechoice.c | 25 +++++++++++++++++++++++++ usr.bin/make/enginechoice.h | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/usr.bin/make/enginechoice.c b/usr.bin/make/enginechoice.c index 32ba04623e5..073df0d6314 100644 --- a/usr.bin/make/enginechoice.c +++ b/usr.bin/make/enginechoice.c @@ -1,3 +1,28 @@ +/* $OpenBSD: enginechoice.c,v 1.2 2021/03/04 09:32:49 espie Exp $ */ +/* + * Copyright (c) 2020 Marc Espie. + * + * 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 OPENBSD PROJECT 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 OPENBSD + * PROJECT 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 "config.h" #include "defines.h" #include "compat.h" diff --git a/usr.bin/make/enginechoice.h b/usr.bin/make/enginechoice.h index 644123179ae..7653eb94e7c 100644 --- a/usr.bin/make/enginechoice.h +++ b/usr.bin/make/enginechoice.h @@ -1,6 +1,31 @@ #ifndef ENGINECHOICE_H #define ENGINECHOICE_H +/* $OpenBSD: enginechoice.h,v 1.2 2021/03/04 09:32:49 espie Exp $ */ +/* + * Copyright (c) 2020 Marc Espie. + * + * 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 OPENBSD PROJECT 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 OPENBSD + * PROJECT 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. + */ extern void engine_run_list(Lst, bool *, bool *); extern void engine_node_updated(GNode *); extern void choose_engine(bool); -- 2.20.1