}
print_tabs(2, fd);
- fprintf(fd, "void *buffer,\n");
+ fprintf(fd, "char *buffer,\n");
print_tabs(2, fd);
fprintf(fd, "size_t *to_base,\n");
print_tabs(2, fd);
fprintf(fd, "size_t *to,\n");
print_tabs(2, fd);
- fprintf(fd, "const void **from,\n");
+ fprintf(fd, "const char **from,\n");
print_tabs(2, fd);
fprintf(fd, "size_t *len,\n");
print_tabs(2, fd);
print_tabs(1, fd);
fprintf(fd, "void *transport_data;\n");
print_tabs(1, fd);
- fprintf(fd, "void *buffer = NULL;\n");
+ fprintf(fd, "char *buffer = NULL;\n");
print_tabs(1, fd);
fprintf(fd, "size_t real_to_base = 0; /* The buffer is allocated on arch_size alignment */\n");
print_tabs(1, fd);
print_tabs(1, fd);
}
- fprintf(fd, "const void *real_from;\n");
+ fprintf(fd, "const char *real_from;\n");
print_tabs(1, fd);
- fprintf(fd, "const void **from = &real_from;\n");
+ fprintf(fd, "const char **from = &real_from;\n");
print_tabs(1, fd);
}
fprintf(fd, "u64 tsc;\n");
fprintf(fd, "\n");
}
print_tabs(2, fd);
- fprintf(fd, "void *buffer");
+ fprintf(fd, "char *buffer");
has_argument = 1;
fprintf(fd, ",");
fprintf(fd, "\n");
goto do_syscall;
}
print_tabs(1, fd);
- fprintf(fd, "void *buffer = NULL;\n");
+ fprintf(fd, "char *buffer = NULL;\n");
print_tabs(1, fd);
fprintf(fd, "size_t real_to_base = 0; /* The buffer is allocated on arch_size alignment */\n");
print_tabs(1, fd);
print_tabs(1, fd);
}
- fprintf(fd, "const void *real_from;\n");
+ fprintf(fd, "const char *real_from;\n");
print_tabs(1, fd);
- fprintf(fd, "const void **from = &real_from;\n");
+ fprintf(fd, "const char **from = &real_from;\n");
print_tabs(1, fd);
}
print_tabs(1, fd);
fprintf(fd, "struct ltt_buf *ltt_buf;\n");
print_tabs(1, fd);
- fprintf(fd, "void *buffer = NULL;\n");
+ fprintf(fd, "char *buffer = NULL;\n");
print_tabs(1, fd);
fprintf(fd, "size_t real_to_base = 0; /* The buffer is allocated on arch_size alignment */\n");
print_tabs(1, fd);
print_tabs(1, fd);
}
- fprintf(fd, "const void *real_from;\n");
+ fprintf(fd, "const char *real_from;\n");
print_tabs(1, fd);
- fprintf(fd, "const void **from = &real_from;\n");
+ fprintf(fd, "const char **from = &real_from;\n");
print_tabs(1, fd);
}
fprintf(fd, "uint64_t tsc;\n");