From 540d609d845869a5c826f8190bdfed47db1e4259 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Fri, 8 Nov 2024 10:50:22 +0100 Subject: check_apt: clang-format --- plugins/check_apt.c | 64 ++++++++++++++++++++++++++++------------------------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/plugins/check_apt.c b/plugins/check_apt.c index c2c693eb..ac89f816 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c @@ -1,33 +1,33 @@ /***************************************************************************** -* -* Monitoring check_apt plugin -* -* License: GPL -* Copyright (c) 2006-2024 Monitoring Plugins Development Team -* -* Original author: Sean Finney -* -* Description: -* -* This file contains the check_apt plugin -* -* Check for available updates in apt package management systems -* -* -* 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 3 of the License, or -* (at your option) any later version. -* -* 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. If not, see . -* -*****************************************************************************/ + * + * Monitoring check_apt plugin + * + * License: GPL + * Copyright (c) 2006-2024 Monitoring Plugins Development Team + * + * Original author: Sean Finney + * + * Description: + * + * This file contains the check_apt plugin + * + * Check for available updates in apt package management systems + * + * + * 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 3 of the License, or + * (at your option) any later version. + * + * 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. If not, see . + * + *****************************************************************************/ const char *progname = "check_apt"; const char *copyright = "2006-2024"; @@ -39,7 +39,11 @@ const char *email = "devel@monitoring-plugins.org"; #include "regex.h" /* some constants */ -typedef enum { UPGRADE, DIST_UPGRADE, NO_UPGRADE } upgrade_type; +typedef enum { + UPGRADE, + DIST_UPGRADE, + NO_UPGRADE +} upgrade_type; /* Character for hidden input file option (for testing). */ #define INPUT_FILE_OPT CHAR_MAX + 1 -- cgit v1.2.3-74-g34f1