refactor(sqlite): replace sscanf with parse

This commit is contained in:
dignifiedquire
2019-05-29 00:06:52 +02:00
parent a53f7c0fca
commit b296ccf5a5
3 changed files with 16 additions and 22 deletions

View File

@@ -4,8 +4,8 @@ use crate::types::*;
pub use libc::{
atoi, calloc, close, closedir, exit, fclose, fgets, fopen, fread, free, fseek, ftell, fwrite,
malloc, memcmp, memcpy, memmove, memset, mkdir, open, opendir, printf, read, readdir, realloc,
remove, sprintf, sscanf, strcat, strchr, strcmp, strcpy, strcspn, strlen, strncmp, strncpy,
strrchr, strspn, strstr, strtol, system, tolower, write,
remove, sprintf, strcat, strchr, strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strrchr,
strspn, strstr, strtol, system, tolower, write,
};
pub unsafe fn strdup(s: *const libc::c_char) -> *mut libc::c_char {