Meta: Run clang-format

This commit is contained in:
Alec Murphy 2025-06-07 08:42:32 -04:00
parent 9513a70a98
commit 5c0c981465
3 changed files with 5 additions and 10 deletions

View file

@ -25,12 +25,9 @@ class TcpSocket {
U64 send_buffer_filled; U64 send_buffer_filled;
U64 send_buffer_kick; // We set this to 1 when we have data available to net, 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 // Net sets back to 0 when ready to receive
U0(*close) U0 (*close)();
(); U64 (*receive)(U64 buf, U64 length);
U64(*receive) U0 (*send)(U64 buf, U64 length);
(U64 buf, U64 length);
U0(*send)
(U64 buf, U64 length);
}; };
class TcpBind { class TcpBind {

View file

@ -76,8 +76,7 @@ class Elf {
I64 symtab_size; I64 symtab_size;
}; };
U0(*_start) U0 (*_start)();
();
U0 unimplemented_symbol() U0 unimplemented_symbol()
{ {

View file

@ -149,8 +149,7 @@ U0 @string_trim(U8* s, U8 ch = NULL, I64 mode = TRIM_BOTH)
class @string class @string
{ {
U0(*Append) U0 (*Append)(U8* dst, U8* fmt, ...);
(U8 * dst, U8 * fmt, ...);
Bool (*BeginsWith)(U8* fragment, U8* str); Bool (*BeginsWith)(U8* fragment, U8* str);
Bool (*EndsWith)(U8* fragment, U8* str); Bool (*EndsWith)(U8* fragment, U8* str);
Bool (*IsNumber)(U8* s); Bool (*IsNumber)(U8* s);