aboutsummaryrefslogtreecommitdiffstats
path: root/common/stringhelp.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-08-10 17:04:43 +0000
committerWerner Koch <[email protected]>2016-08-10 17:53:53 +0000
commitf2ea7e539c9a22081e3159dcbca84f57f30724ca (patch)
tree4d7abfc34b04735580b231f53fd1db48ce6e531b /common/stringhelp.h
parenttests: Fix distcheck. (diff)
downloadgnupg-f2ea7e539c9a22081e3159dcbca84f57f30724ca.tar.gz
gnupg-f2ea7e539c9a22081e3159dcbca84f57f30724ca.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--common/stringhelp.h3
1 files changed, 0 insertions, 3 deletions
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);