From 65f4528f4896d522945fa07d06a9255f61683f51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 18 Feb 2020 20:01:27 +0100 Subject: [PATCH] contrib/ccan/asprintf: remove fortification guard Perhaps it served some purpose in 28b230823, but it seems incorrect. --- contrib/ccan/asprintf/asprintf.c | 2 +- contrib/ccan/asprintf/asprintf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/ccan/asprintf/asprintf.c b/contrib/ccan/asprintf/asprintf.c index 9e66e1348..e9e02d7dd 100644 --- a/contrib/ccan/asprintf/asprintf.c +++ b/contrib/ccan/asprintf/asprintf.c @@ -16,7 +16,7 @@ char *PRINTF_FMT(1, 2) afmt(const char *fmt, ...) return ptr; } -#if !HAVE_ASPRINTF && !defined(__USE_FORTIFY_LEVEL) +#if !HAVE_ASPRINTF #include #include diff --git a/contrib/ccan/asprintf/asprintf.h b/contrib/ccan/asprintf/asprintf.h index 37da83e98..958e244b5 100644 --- a/contrib/ccan/asprintf/asprintf.h +++ b/contrib/ccan/asprintf/asprintf.h @@ -12,7 +12,7 @@ */ char *PRINTF_FMT(1, 2) afmt(const char *fmt, ...); -#if HAVE_ASPRINTF || defined(__USE_FORTIFY_LEVEL) +#if HAVE_ASPRINTF #include #else #include -- 2.47.2