Skip to content

Commit 6a1d61d

Browse files
linusgalexrp
authored andcommitted
std.c: Remove serenity's internet_checksum() function
See: SerenityOS/serenity@59911d8
1 parent 0a1a738 commit 6a1d61d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/std/c.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11263,7 +11263,6 @@ pub const serenity_readlink = serenity.serenity_readlink;
1126311263
pub const serenity_open = serenity.serenity_open;
1126411264
pub const getkeymap = serenity.getkeymap;
1126511265
pub const setkeymap = serenity.setkeymap;
11266-
pub const internet_checksum = serenity.internet_checksum;
1126711266

1126811267
/// External definitions shared by two or more operating systems.
1126911268
const private = struct {

lib/std/c/serenity.zig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,3 @@ pub extern "c" fn serenity_open(path: [*]const u8, path_length: usize, options:
7171

7272
pub 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;
7373
pub 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-
75-
pub extern "c" fn internet_checksum(ptr: *const anyopaque, count: usize) u16;

0 commit comments

Comments
 (0)