diff options
Diffstat (limited to 'lib/util/util_str.c')
-rw-r--r-- | lib/util/util_str.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/util/util_str.c b/lib/util/util_str.c index 0ea71a8e3c..8695266655 100644 --- a/lib/util/util_str.c +++ b/lib/util/util_str.c @@ -112,17 +112,6 @@ _PUBLIC_ char *safe_strcat(char *dest, const char *src, size_t maxlength) return dest; } -#ifdef VALGRIND -size_t valgrind_strlen(const char *s) -{ - size_t count; - for(count = 0; *s++; count++) - ; - return count; -} -#endif - - /** format a string into length-prefixed dotted domain format, as used in NBT and in some ADS structures |