]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bregex.h
19July06
[bacula/bacula] / bacula / src / lib / bregex.h
index b2f3fabe36887ce54c7d1de74383ad9510f5574a..cfda3f0680e69757c24c626ea62c344a642bb2ef 100644 (file)
@@ -125,7 +125,7 @@ int re_set_syntax(int syntax);
 /* This sets the syntax to use and returns the previous syntax.  The
  * syntax is specified by a bit mask of the above defined bits. */
 
-char *re_compile_pattern(regex_t *compiled, unsigned char *regex);
+const char *re_compile_pattern(regex_t *compiled, unsigned char *regex);
 /* This compiles the regexp (given in regex and length in regex_size).
  * This returns NULL if the regexp compiled successfully, and an error
  * message if an error was encountered.  The buffer field must be