Remove unused function.
authorayin <ayin>
Mon, 27 Aug 2007 20:53:16 +0000 (20:53 +0000)
committerayin <ayin>
Mon, 27 Aug 2007 20:53:16 +0000 (20:53 +0000)
src/misc.C
src/rxvt.h

index a69070c..3f586fd 100644 (file)
@@ -235,22 +235,6 @@ rxvt_exit_failure () THROW ((class rxvt_failure_exception))
 }
 
 /*
- * check that the first characters of S1 match S2
- *
- * No Match
- *      return: 0
- * Match
- *      return: strlen (S2)
- */
-int
-rxvt_Str_match (const char *s1, const char *s2) NOTHROW
-{
-  int n = strlen (s2);
-
-  return ((strncmp (s1, s2, n) == 0) ? n : 0);
-}
-
-/*
  * remove leading/trailing space and strip-off leading/trailing quotes.
  * in place.
  */
index e0b095b..8370d6f 100644 (file)
@@ -120,7 +120,6 @@ void             rxvt_warn                        (const char *fmt,...) NOTHROW;
 void             rxvt_fatal                       (const char *fmt, ...) THROW ((class rxvt_failure_exception)) NORETURN;
 void             rxvt_exit_failure                () THROW ((class rxvt_failure_exception)) NORETURN;
 
-int              rxvt_Str_match                   (const char *s1, const char *s2) NOTHROW;
 char           * rxvt_Str_trim                    (char *str) NOTHROW;
 int              rxvt_Str_escaped                 (char *str) NOTHROW;
 char          ** rxvt_splitcommastring            (const char *cs) NOTHROW;