Clean up more WIN32 APIs

This commit is contained in:
Justine Tunney 2023-07-30 16:00:58 -07:00
parent 44b88d659d
commit 929478c524
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
60 changed files with 74 additions and 962 deletions

View file

@ -1,20 +1,2 @@
#include "libc/nt/codegen.h"
.imp kernel32,__imp_UnmapViewOfFile,UnmapViewOfFile
.text.windows
.ftrace1
__UnmapViewOfFile:
.ftrace2
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
mov %rdi,%rcx
sub $32,%rsp
call *__imp_UnmapViewOfFile(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn __UnmapViewOfFile,globl
.previous