From f2ea7e539c9a22081e3159dcbca84f57f30724ca Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 10 Aug 2016 19:04:43 +0200 Subject: common: New function try_make_printable_string. * common/stringhelp.c (sanitize_buffer): Remove. Move code to ... * common/miscellaneous.c (try_make_printable_string): new. (make_printable_string): Call try_make_printable_string. Signed-off-by: Werner Koch --- common/stringhelp.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'common/stringhelp.h') diff --git a/common/stringhelp.h b/common/stringhelp.h index b6f4167f7..adf2f2060 100644 --- a/common/stringhelp.h +++ b/common/stringhelp.h @@ -61,9 +61,6 @@ int compare_filenames( const char *a, const char *b ); int hextobyte (const char *s); -char *sanitize_buffer (const void *p, size_t n, int delim); - - size_t utf8_charcount (const char *s, int len); -- cgit v1.2.3