diff options
author | Rob Austein <sra@hactrn.net> | 2016-10-07 20:23:10 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-10-07 20:23:10 -0400 |
commit | b89d9e30c928724fd4aac579067708cffc55f003 (patch) | |
tree | 84d6e62a636e964465b131fee7c55ca543c1c08f | |
parent | db32574d6c85bb48a2f01d80eec6e241152704ff (diff) |
Stop whining about POSIX strnlen() function.
-rw-r--r-- | core.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -42,6 +42,13 @@ #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 * some later date without having to change the public API. |