r14720: Add torture_context argument to all torture tests
[kamenim/samba.git] / source4 / torture / local / iconv.c
index 662816d5338bf29dba66c1d57c0353b2189965c3..7f2e32896007772e4a5777d88b598eb5a2763311 100644 (file)
 */
 
 #include "includes.h"
+#include "torture/torture.h"
 #include "system/iconv.h"
 #include "system/time.h"
+#include "libcli/raw/libcliraw.h"
+#include "torture/util.h"
 
 #if HAVE_NATIVE_ICONV
 /*
@@ -309,7 +312,7 @@ static int test_codepoint(unsigned int codepoint)
        return 1;
 }
 
-BOOL torture_local_iconv(void
+BOOL torture_local_iconv(struct torture_context *torture
 {
        size_t size;
        unsigned char inbuf[1000];
@@ -379,7 +382,7 @@ BOOL torture_local_iconv(void)
 
 #else
 
-BOOL torture_local_iconv(void
+BOOL torture_local_iconv(struct torture_context *torture
 {
        printf("No native iconv library - can't run iconv test\n");
        return True;