Commit ece8480fc2
Changed files (1)
lib
std
lib/std/c.zig
@@ -1914,7 +1914,7 @@ pub const LC = enum(c_int) {
IDENTIFICATION = 12,
};
-pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) [*:0]const u8;
+pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) ?[*:0]const u8;
pub const getcontext = if (builtin.target.isAndroid())
@compileError("android bionic libc does not implement getcontext")