diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-30 16:15:01 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-31 00:32:07 +0200 |
commit | a5a2373979a9484bb68271e9c1c518f05a8ec564 (patch) | |
tree | 4e8491b003c76415baa40fc0556d3cbfe82f12e9 /source3/include | |
parent | 8d639feed9493a099c57d494254f1ea262b28277 (diff) | |
download | samba-a5a2373979a9484bb68271e9c1c518f05a8ec564.tar.gz samba-a5a2373979a9484bb68271e9c1c518f05a8ec564.tar.bz2 samba-a5a2373979a9484bb68271e9c1c518f05a8ec564.zip |
s3-lib Move sstring_sub() to it's only user and make static
This should not be used more generally, as it is specifically not for
multibyte strings, and uses malloc rather than talloc.
Andrew Bartlett
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index c17377cd2f..1f094617ad 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -897,7 +897,6 @@ void sprintf_append(TALLOC_CTX *mem_ctx, char **string, ssize_t *len, int asprintf_strupper_m(char **strp, const char *fmt, ...); char *talloc_asprintf_strupper_m(TALLOC_CTX *t, const char *fmt, ...); char *talloc_asprintf_strlower_m(TALLOC_CTX *t, const char *fmt, ...); -char *sstring_sub(const char *src, char front, char back); bool validate_net_name( const char *name, const char *invalid_chars, int max_len); |