summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-15 19:17:46 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-15 19:17:46 +0000
commit4cd43538476c675b27e5e1acb7bfa121e49b16c4 (patch)
treecc43b4d3b458adda6261602684fe70267e01d8d0
parente8fd871d8b6459267f8de6e3389333144ef062eb (diff)
downloadtor-4cd43538476c675b27e5e1acb7bfa121e49b16c4.tar.gz
tor-4cd43538476c675b27e5e1acb7bfa121e49b16c4.zip
and remove now-extraneous function
svn:r6168
-rw-r--r--src/common/util.c11
-rw-r--r--src/common/util.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 3055ac2750..2f001d753c 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -329,17 +329,6 @@ tor_strupper(char *s)
}
}
-int
-tor_strisprint(const char *s)
-{
- while (*s) {
- if (!TOR_ISPRINT(*s))
- return 0;
- s++;
- }
- return 1;
-}
-
/* Compares the first strlen(s2) characters of s1 with s2. Returns as for
* strcmp.
*/
diff --git a/src/common/util.h b/src/common/util.h
index cdcd64f6b4..ebcf70f7ec 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -90,7 +90,6 @@ extern int dmalloc_free(const char *file, const int line, void *pnt,
#define HEX_CHARACTERS "0123456789ABCDEFabcdef"
void tor_strlower(char *s);
void tor_strupper(char *s);
-int tor_strisprint(const char *s);
int strcmpstart(const char *s1, const char *s2);
int strcasecmpstart(const char *s1, const char *s2);
int strcmpend(const char *s1, const char *s2);