std.c: freeing null is a no-op
This commit is contained in:
@@ -259,7 +259,7 @@ pub usingnamespace switch (builtin.os.tag) {
|
||||
};
|
||||
|
||||
pub extern "c" fn realloc(?*c_void, usize) ?*c_void;
|
||||
pub extern "c" fn free(*c_void) void;
|
||||
pub extern "c" fn free(?*c_void) void;
|
||||
pub extern "c" fn posix_memalign(memptr: **c_void, alignment: usize, size: usize) c_int;
|
||||
|
||||
pub extern "c" fn futimes(fd: fd_t, times: *[2]timeval) c_int;
|
||||
|
||||
Reference in New Issue
Block a user