aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-28 18:33:48 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-28 18:33:48 +0100
commita3c93511fc08385d9d07930476c0b70e4549aeec (patch)
tree58bac2518a80b3fcf288234895768c95c18fbc6b
parentdf3d47a05cfaf97a51215f546f1912bf79735daa (diff)
Who cares for C++
-rw-r--r--cbs.h8
1 files changed, 0 insertions, 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, ...)
{