summaryrefslogtreecommitdiff
path: root/rpmio/rpmstring.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-26 23:39:14 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-26 23:40:40 +0300
commit91171b8df0f0d590e330aebaa754d0ec386de7c9 (patch)
treecc969d4a4da30b7c16f2dd4e5210456b27f5a090 /rpmio/rpmstring.c
parent21e0e5cd482620bc73ff221b7ce26b41f97d7cee (diff)
downloadlibrpm-tizen-91171b8df0f0d590e330aebaa754d0ec386de7c9.tar.gz
librpm-tizen-91171b8df0f0d590e330aebaa754d0ec386de7c9.tar.bz2
librpm-tizen-91171b8df0f0d590e330aebaa754d0ec386de7c9.zip
Bury stripTrailingChar() inside the only remaining user
- There used to be some other callers too but seems they've passed away, leaving just the relocation code in rpmte.c. Which means we can get this ugly bit out of the API.
Diffstat (limited to 'rpmio/rpmstring.c')
-rw-r--r--rpmio/rpmstring.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/rpmio/rpmstring.c b/rpmio/rpmstring.c
index 7365e1c97..8961cb3e6 100644
--- a/rpmio/rpmstring.c
+++ b/rpmio/rpmstring.c
@@ -11,14 +11,6 @@
#include "debug.h"
-char * stripTrailingChar(char * s, char c)
-{
- char * t;
- for (t = s + strlen(s) - 1; *t == c && t >= s; t--)
- *t = '\0';
- return s;
-}
-
int rstrcasecmp(const char * s1, const char * s2)
{
const char * p1 = s1;