authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2025-08-10 13:54:38+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-10 18:21:47+02:00
log6a1d61d5044777350e742ecda1c35a23a0550395
treea445971a52d429f1c9e4619d9328056a9135c138
parent0a1a738320219961c0809a92ac7607a5525aa33e

std.c: Remove serenity's internet_checksum() function

See: https://github.com/SerenityOS/serenity/commit/59911d8da3da36aefd2d4902a0fdfc21e1f6f8ac

2 files changed, 0 insertions(+), 3 deletions(-)

lib/std/c.zig-1
...@@ -11263,7 +11263,6 @@ pub const serenity_readlink = serenity.serenity_readlink;...@@ -11263,7 +11263,6 @@ pub const serenity_readlink = serenity.serenity_readlink;
11263pub const serenity_open = serenity.serenity_open;11263pub const serenity_open = serenity.serenity_open;
11264pub const getkeymap = serenity.getkeymap;11264pub const getkeymap = serenity.getkeymap;
11265pub const setkeymap = serenity.setkeymap;11265pub const setkeymap = serenity.setkeymap;
11266pub const internet_checksum = serenity.internet_checksum;
1126711266
11268/// External definitions shared by two or more operating systems.11267/// External definitions shared by two or more operating systems.
11269const private = struct {11268const private = struct {
lib/std/c/serenity.zig-2
...@@ -71,5 +71,3 @@ pub extern "c" fn serenity_open(path: [*]const u8, path_length: usize, options:...@@ -71,5 +71,3 @@ pub extern "c" fn serenity_open(path: [*]const u8, path_length: usize, options:
7171
72pub extern "c" fn getkeymap(name_buffer: [*]u8, name_buffer_size: usize, map: [*]u32, shift_map: [*]u32, alt_map: [*]u32, altgr_map: [*]u32, shift_altgr_map: [*]u32) c_int;72pub extern "c" fn getkeymap(name_buffer: [*]u8, name_buffer_size: usize, map: [*]u32, shift_map: [*]u32, alt_map: [*]u32, altgr_map: [*]u32, shift_altgr_map: [*]u32) c_int;
73pub extern "c" fn setkeymap(name: [*]const u8, map: [*]const u32, shift_map: [*]const u32, alt_map: [*]const u32, altgr_map: [*]const u32, shift_altgr_map: [*]const u32) c_int;73pub extern "c" fn setkeymap(name: [*]const u8, map: [*]const u32, shift_map: [*]const u32, alt_map: [*]const u32, altgr_map: [*]const u32, shift_altgr_map: [*]const u32) c_int;
74
75pub extern "c" fn internet_checksum(ptr: *const anyopaque, count: usize) u16;