From 802e46f8ea36c344f112d7e1dd8d64d17a4cc939 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 15 Sep 2025 12:59:37 +0200 Subject: Run clang-format again --- plugins/runcmd.h | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-) (limited to 'plugins/runcmd.h') diff --git a/plugins/runcmd.h b/plugins/runcmd.h index 2dcdadf0..63ce7b12 100644 --- a/plugins/runcmd.h +++ b/plugins/runcmd.h @@ -1,25 +1,25 @@ /**************************************************************************** -* -* License: GPL -* Copyright (c) 2005 Monitoring Plugins Development Team -* Author: Andreas Ericsson -* -* -* 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 . -* -* -*****************************************************************************/ + * + * License: GPL + * Copyright (c) 2005 Monitoring Plugins Development Team + * Author: Andreas Ericsson + * + * + * 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 . + * + * + *****************************************************************************/ #ifndef NAGIOSPLUG_RUNCMD_H #define NAGIOSPLUG_RUNCMD_H @@ -29,8 +29,7 @@ /** prototypes **/ int np_runcmd(const char *, output *, output *, int); -void runcmd_timeout_alarm_handler(int) - __attribute__((__noreturn__)); +void runcmd_timeout_alarm_handler(int) __attribute__((__noreturn__)); /* only multi-threaded plugins need to bother with this */ void np_runcmd_init(void); @@ -38,6 +37,6 @@ void np_runcmd_init(void); /* possible flags for np_runcmd()'s fourth argument */ #define RUNCMD_NO_ARRAYS 0x01 /* don't populate arrays at all */ -#define RUNCMD_NO_ASSOC 0x02 /* output.line won't point to buf */ +#define RUNCMD_NO_ASSOC 0x02 /* output.line won't point to buf */ #endif /* NAGIOSPLUG_RUNCMD_H */ -- cgit v1.2.3-74-g34f1