Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Avoid making making xstring.h public
Baptiste Daroussin committed 5 years ago
commit 74fd3389a4ee2611603ee8658d2f3b4182ace73e
parent 83a2bc5
3 files changed +2 -1
modified libpkg/pkg.h.in
@@ -44,7 +44,6 @@ extern "C" {
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
-
#include <xstring.h>

/* The expected name of the pkg(8) binary executable. */
#ifndef PKG_EXEC_NAME
modified libpkg/pkg_printf.c
@@ -44,6 +44,7 @@
#include <utlist.h>

#include "pkg.h"
+
#include <xstring.h>
#include <private/pkg_printf.h>
#include <private/pkg.h>

modified src/pkgcli.h
@@ -31,6 +31,7 @@
#include <search.h>
#include <stdint.h>
#include <string.h>
+
#include <xstring.h>
#include <bsd_compat.h>

#define pkg_warnx(fmt, ...) pkg_fprintf(stderr, "%S: " fmt, getprogname(), __VA_ARGS__, -1)