diff --git a/ChangeLog b/ChangeLog index 04550df1c..9a67138e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 13 16:46:46 EET 2008 (edwin) +------------------------------------ + * libclamav/others.c: move cli_rarload. TODO: MEMFUNSONLY should be + a separate file! + Thu Nov 13 16:27:57 EET 2008 (edwin) ------------------------------------ * contrib/clamdtop/Makefile, contrib/clamdtop/clamdtop.c: select a diff --git a/libclamav/others.c b/libclamav/others.c index 9963ffdb3..5a7f0241f 100644 --- a/libclamav/others.c +++ b/libclamav/others.c @@ -111,6 +111,22 @@ static unsigned char name_salt[16] = { 16, 38, 97, 12, 8, 4, 72, 196, 217, 144, fputs(buff, stderr); \ va_end(args) +void cli_warnmsg(const char *str, ...) +{ + MSGCODE("LibClamAV Warning: "); +} + +void cli_errmsg(const char *str, ...) +{ + MSGCODE("LibClamAV Error: "); +} + +void cli_dbgmsg_internal(const char *str, ...) +{ + MSGCODE("LibClamAV debug: "); +} + +#ifndef CLI_MEMFUNSONLY int (*cli_unrar_open)(int fd, const char *dirname, unrar_state_t *state); int (*cli_unrar_extract_next_prepare)(unrar_state_t *state, const char *dirname); int (*cli_unrar_extract_next)(unrar_state_t *state, const char *dirname); @@ -144,22 +160,6 @@ static void cli_rarload(void) { have_rar = 1; } -void cli_warnmsg(const char *str, ...) -{ - MSGCODE("LibClamAV Warning: "); -} - -void cli_errmsg(const char *str, ...) -{ - MSGCODE("LibClamAV Error: "); -} - -void cli_dbgmsg_internal(const char *str, ...) -{ - MSGCODE("LibClamAV debug: "); -} - -#ifndef CLI_MEMFUNSONLY void cl_debug(void) { cli_debug_flag = 1;