From b89d9e30c928724fd4aac579067708cffc55f003 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 7 Oct 2016 20:23:10 -0400 Subject: Stop whining about POSIX strnlen() function. --- core.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core.c') diff --git a/core.c b/core.c index fed4b66..a17422a 100644 --- a/core.c +++ b/core.c @@ -41,6 +41,13 @@ #include "hal.h" #include "hal_internal.h" +/* + * POSIX function whose declaration gets lost somewhere in the twisty + * corridors of glibc's "Feature Test Macro" system. + */ + +extern size_t strnlen(const char *, size_t); + /* * Structure of our internal database is private, in case we want to * change representation (array, tree, list of lists, whatever) at -- cgit v1.2.3