Browse code

fix declaration of rar_dbgmsg() (bb#848)

git-svn: trunk@3658

Tomasz Kojm authored on 2008/02/20 00:36:11
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Feb 19 15:35:47 CET 2008 (tk)
2
+---------------------------------
3
+  * libclamunrar/unrarvm.c: fix declaration of rar_dbgmsg() (bb#848)
4
+
1 5
 Tue Feb 19 14:50:29 CET 2008 (tk)
2 6
 ---------------------------------
3 7
   * clamscan/others.c: fix checkaccess() return value on win32 (bb#847)
... ...
@@ -15,6 +15,7 @@
15 15
  *
16 16
  */
17 17
 
18
+#include <stdio.h>
18 19
 #include <string.h>
19 20
 
20 21
 #include "libclamunrar/unrar.h"
... ...
@@ -18,6 +18,7 @@
18 18
 #include "clamav-config.h"
19 19
 #endif
20 20
 
21
+#include <stdio.h>
21 22
 #include <string.h>
22 23
 
23 24
 #include "libclamunrar/unrar.h"
... ...
@@ -27,7 +28,7 @@
27 27
 #ifdef RAR_HIGH_DEBUG
28 28
 #define rar_dbgmsg printf
29 29
 #else
30
-static void rar_dbgmsg(){};
30
+static void rar_dbgmsg(const char* fmt,...){}
31 31
 #endif
32 32
 
33 33
 #define VMCF_OP0             0