izmjene licence
[ossec-hids.git] / src / os_regex / os_regex.c
index 2e89fab..713b2c6 100755 (executable)
@@ -5,7 +5,7 @@
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation
  */
 
@@ -24,7 +24,7 @@
  *  only going to be used once.
  *  Returns 1 on success or 0 on failure.
  */
-int OS_Regex(char *pattern, char *str)
+int OS_Regex(const char *pattern, const char *str)
 {
     int r_code = 0;
     OSRegex reg;
@@ -39,7 +39,7 @@ int OS_Regex(char *pattern, char *str)
 
         OSRegex_FreePattern(&reg);
     }
-    
+
     return(r_code);
 }