diff --git a/System/Api/Tcp.HC b/System/Api/Tcp.HC index 2ab2d39..6ad40d7 100644 --- a/System/Api/Tcp.HC +++ b/System/Api/Tcp.HC @@ -25,12 +25,9 @@ class TcpSocket { U64 send_buffer_filled; U64 send_buffer_kick; // We set this to 1 when we have data available to net, // Net sets back to 0 when ready to receive - U0(*close) - (); - U64(*receive) - (U64 buf, U64 length); - U0(*send) - (U64 buf, U64 length); + U0 (*close)(); + U64 (*receive)(U64 buf, U64 length); + U0 (*send)(U64 buf, U64 length); }; class TcpBind { diff --git a/System/FFI/ELF64.HC b/System/FFI/ELF64.HC index a88ee8b..9562b5d 100644 --- a/System/FFI/ELF64.HC +++ b/System/FFI/ELF64.HC @@ -76,8 +76,7 @@ class Elf { I64 symtab_size; }; -U0(*_start) -(); +U0 (*_start)(); U0 unimplemented_symbol() { diff --git a/System/Libraries/String.HC b/System/Libraries/String.HC index 5b3eeb0..0184d61 100644 --- a/System/Libraries/String.HC +++ b/System/Libraries/String.HC @@ -149,8 +149,7 @@ U0 @string_trim(U8* s, U8 ch = NULL, I64 mode = TRIM_BOTH) class @string { - U0(*Append) - (U8 * dst, U8 * fmt, ...); + U0 (*Append)(U8* dst, U8* fmt, ...); Bool (*BeginsWith)(U8* fragment, U8* str); Bool (*EndsWith)(U8* fragment, U8* str); Bool (*IsNumber)(U8* s);