From a3c93511fc08385d9d07930476c0b70e4549aeec Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 28 Dec 2023 18:33:48 +0100 Subject: Who cares for C++ --- cbs.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cbs.h b/cbs.h index 25cc47b..4f2ce08 100644 --- a/cbs.h +++ b/cbs.h @@ -72,10 +72,6 @@ struct cmd { static int cbs_argc; static char **cbs_argv; -#ifdef __cplusplus -extern "C" { -#endif - /* Initializes some data required for this header to work properly. This should be the first thing called in main() with argc and argv passed. */ static void cbsinit(int, char **); @@ -156,10 +152,6 @@ static bool pcquery(struct cmd *, char *, enum pkg_config_flags); ATTR_FMT noreturn static void die(const char *, ...); -#ifdef __cplusplus -} -#endif - void die(const char *fmt, ...) { -- cgit v1.2.3