| ... | ... |
@@ -1,3 +1,7 @@ |
| 1 |
+Fri May 15 15:10:59 EEST 2009 (edwin) |
|
| 2 |
+------------------------------------- |
|
| 3 |
+ * libclamav/others.h, libclamav/regex/regex.h: fix compiler warning |
|
| 4 |
+ |
|
| 1 | 5 |
Fri May 15 14:29:19 EEST 2009 (edwin) |
| 2 | 6 |
------------------------------------- |
| 3 | 7 |
* libclamav/others.h, libclamav/others_common.c, |
| ... | ... |
@@ -383,7 +383,6 @@ const char* cli_ctime(const time_t *timep, char *buf, const size_t bufsize); |
| 383 | 383 |
int cli_checklimits(const char *, cli_ctx *, unsigned long, unsigned long, unsigned long); |
| 384 | 384 |
int cli_updatelimits(cli_ctx *, unsigned long); |
| 385 | 385 |
unsigned long cli_getsizelimit(cli_ctx *, unsigned long); |
| 386 |
-int cli_regcomp(regex_t *preg, const char *pattern, int cflags); |
|
| 387 | 386 |
int cli_matchregex(const char *str, const char *regex); |
| 388 | 387 |
|
| 389 | 388 |
/* symlink behaviour */ |
| ... | ... |
@@ -94,6 +94,7 @@ typedef struct {
|
| 94 | 94 |
#define REG_BACKR 02000 /* force use of backref code */ |
| 95 | 95 |
|
| 96 | 96 |
int cli_regcomp_real(regex_t *, const char *, int); |
| 97 |
+int cli_regcomp(regex_t *, const char *, int); |
|
| 97 | 98 |
size_t cli_regerror(int, const regex_t *, char *, size_t); |
| 98 | 99 |
int cli_regexec(const regex_t *, const char *, size_t, regmatch_t [], int); |
| 99 | 100 |
void cli_regfree(regex_t *); |