]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/match.c
Code cleanup, remove blank lines
[ngircd-alex.git] / src / ngircd / match.c
index bc26e75588d05c19e12ae719e8ae4179f35eb4ca..88872f0d9102353b83e79cc6274be451acc58f45 100644 (file)
 #include "defines.h"
 #include "tool.h"
 
-
 /*
  * The pattern matching functions [Matche(), Matche_After_Star()] are based
  * on code of J. Kercheval. Version 1.1 has been released on 1991-03-12 as
  * "public domain": <http://c.snippets.org/snip_lister.php?fname=match.c>
  */
 
-
 static int Matche PARAMS(( const char *p, const char *t ));
 static int Matche_After_Star PARAMS(( const char *p, const char *t ));
 
-
 #define MATCH_PATTERN  6       /**< bad pattern */
 #define MATCH_LITERAL  5       /**< match failure on literal match */
 #define MATCH_RANGE    4       /**< match failure on [..] construct */
@@ -44,7 +41,6 @@ static int Matche_After_Star PARAMS(( const char *p, const char *t ));
 #define MATCH_END      2       /**< premature end of pattern string */
 #define MATCH_VALID    1       /**< valid match */
 
-
 /**
  * Match string with pattern.
  *
@@ -59,7 +55,6 @@ Match( const char *Pattern, const char *String )
        else return false;
 } /* Match */
 
-
 /**
  * Match string with pattern case-insensitive.
  *
@@ -76,7 +71,6 @@ MatchCaseInsensitive(const char *Pattern, const char *String)
        return Match(Pattern, ngt_LowerStr(haystack));
 } /* MatchCaseInsensitive */
 
-
 /**
  * Match string with pattern case-insensitive.
  *
@@ -105,7 +99,6 @@ MatchCaseInsensitiveList(const char *Pattern, const char *String,
        return false;
 } /* MatchCaseInsensitive */
 
-
 static int
 Matche( const char *p, const char *t )
 {
@@ -136,7 +129,6 @@ Matche( const char *p, const char *t )
        else return MATCH_VALID;
 } /* Matche */
 
-
 static int
 Matche_After_Star( const char *p, const char *t )
 {
@@ -186,5 +178,4 @@ Matche_After_Star( const char *p, const char *t )
        return match;
 } /* Matche_After_Star */
 
-
 /* -eof- */