---
libgeda/include/prototype.h | 2 --
libgeda/src/u_basic.c | 31 -------------------------------
2 files changed, 0 insertions(+), 33 deletions(-)
diff --git a/libgeda/include/prototype.h b/libgeda/include/prototype.h
index eabf6bb..7713344 100644
--- a/libgeda/include/prototype.h
+++ b/libgeda/include/prototype.h
@@ -507,6 +507,4 @@ void s_undo_free_all(TOPLEVEL *toplevel, PAGE *p_current);
/* u_basic.c */
char *u_basic_breakup_string(char *string, char delimiter, int count);
-void u_basic_strip_trailing(char *string, char c);
-int u_basic_has_trailing(char *string, char c);
int u_basic_count_char(const char *string, char character);
diff --git a/libgeda/src/u_basic.c b/libgeda/src/u_basic.c
index 7b2ed4b..fb67399 100644
--- a/libgeda/src/u_basic.c
+++ b/libgeda/src/u_basic.c
@@ -104,37 +104,6 @@ char *u_basic_breakup_string(char *string, char delimiter,
int count)
* \par Function Description
*
*/
-void u_basic_strip_trailing(char *string, char c)
-{
- if (string) {
- int len = strlen(string) - 1; /* point to last char */
- if (string[len] == c) {
- string[len] = '\0';
- }
- }
-}
-
-/*! \todo Finish function documentation!!!
- * \brief
- * \par Function Description
- *
- */
-int u_basic_has_trailing(char *string, char c)
-{
- if (string) {
- int len = strlen(string) - 1; /* point to last char */
- if (string[len] == c) {
- return TRUE;
- }
- }
- return FALSE;
-}
-
-/*! \todo Finish function documentation!!!
- * \brief
- * \par Function Description
- *
- */
/*
* This fcn counts the number of occurances of the character
* "character" in the string "string".
--
1.5.6
_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev