some tweaks

This commit is contained in:
cathugger
2021-12-08 20:22:24 +00:00
parent 5b4074a47e
commit 90fe9f35d1
2 changed files with 2 additions and 5 deletions

View File

@@ -161,7 +161,6 @@ skipdsync:
return 0;
}
#else
int writeall(FH fd,const u8 *data,size_t len)
@@ -202,8 +201,6 @@ int createdir(const char *path,int secret)
return CreateDirectoryA(path,0) ? 0 : -1;
}
int syncwrite(const char *filename,int secret,const char *data,size_t datalen)
{
VEC_STRUCT(,char) tmpname;