diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-15 23:39:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-15 23:39:14 +0000 |
commit | 24e8e1fb36c3fa6319b00dff8b1db7feeb214905 (patch) | |
tree | b9d908a734052bfd47c3107ae24e5b180b87220c /src/common/util.h | |
parent | f5ed1f8469d28879a5efbf2a0ccad5766019bcbb (diff) | |
download | tor-24e8e1fb36c3fa6319b00dff8b1db7feeb214905.tar tor-24e8e1fb36c3fa6319b00dff8b1db7feeb214905.tar.gz |
r14185@tombo: nickm | 2008-02-15 18:05:54 -0500
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use.
svn:r13532
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h index 1ca6dd9b6..14638b29a 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -167,8 +167,6 @@ int strcmpend(const char *s1, const char *s2) ATTR_PURE ATTR_NONNULL((1,2)); int strcasecmpend(const char *s1, const char *s2) ATTR_PURE ATTR_NONNULL((1,2)); int tor_strstrip(char *s, const char *strip) ATTR_NONNULL((1,2)); -int tor_strpartition(char *dest, size_t dest_len, - const char *s, const char *insert, size_t n); long tor_parse_long(const char *s, int base, long min, long max, int *ok, char **next); unsigned long tor_parse_ulong(const char *s, int base, unsigned long min, |