From 0645c9fc2c7f801ba3c7d68a17c137a63ada299f Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Tue, 18 Feb 2025 21:58:34 +0100 Subject: Implement new output functionality --- plugins/utils.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'plugins/utils.h') diff --git a/plugins/utils.h b/plugins/utils.h index f939e337..c7073990 100644 --- a/plugins/utils.h +++ b/plugins/utils.h @@ -13,11 +13,11 @@ in order to resist overflow attacks. In addition, a few functions are provided to standardize version and error reporting across the entire suite of plugins. */ -/* now some functions etc are being defined in ../lib/utils_base.c */ -#include "utils_base.h" - +#include "../config.h" #include - +#include +#include +#include #ifdef NP_EXTRA_OPTS /* Include extra-opts functions if compiled in */ @@ -78,9 +78,6 @@ char *strpcat (char *, const char *, const char *); int xvasprintf (char **strp, const char *fmt, va_list ap); int xasprintf (char **strp, const char *fmt, ...); -int max_state (int a, int b); -int max_state_alt (int a, int b); - void usage (const char *) __attribute__((noreturn)); void usage2(const char *, const char *) __attribute__((noreturn)); void usage3(const char *, int) __attribute__((noreturn)); -- cgit v1.2.3-74-g34f1