From 247dcce2b5676abbd0109bdc2d74c36dff73609c Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Tue, 19 Jun 2018 20:58:44 +0000 Subject: *: fix source file headers & includes for errcodes * Use the correct license header * Stop headers from including themselves * Use uniform relative include conventions * Ensure that sources include what they use * Turn off clang-format around struct array blocks Signed-off-by: Quentin Young --- ospfd/ospf_errors.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'ospfd/ospf_errors.c') diff --git a/ospfd/ospf_errors.c b/ospfd/ospf_errors.c index 7f94080ceb..f4ae731a9b 100644 --- a/ospfd/ospf_errors.c +++ b/ospfd/ospf_errors.c @@ -1,24 +1,26 @@ /* - * ospf_errors - code for error messages that may occur in the - * ospf process + * OSPF-specific error messages. * Copyright (C) 2018 Cumulus Networks, Inc. - * Chirag Shah + * Chirag Shah * - * FRR 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, or (at your option) any - * later version. + * This program 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. * - * FRR 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. + * This program 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; see the file COPYING; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ + #include + +#include "lib/ferr.h" #include "ospf_errors.h" static struct ferr_ref ferr_ospf_err[] = { -- cgit v1.2.3