#define BOOL int
#endif
+struct torture_context;
+
static struct timeval timeval_current(void)
{
struct timeval tv;
}
-BOOL torture_local_talloc(void)
+BOOL torture_local_talloc(struct torture_context *torture)
{
BOOL ret = True;
#if !defined(_SAMBA_BUILD_) || ((SAMBA_VERSION_MAJOR==3)&&(SAMBA_VERSION_MINOR<9))
int main(void)
{
- if (!torture_local_talloc()) {
- printf("ERROR: TESTSUIE FAILED\n");
+ if (!torture_local_talloc(NULL)) {
+ printf("ERROR: TESTSUITE FAILED\n");
return -1;
}
return 0;