mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
Everywhere: Remove needless trailing semi-colons after functions
This is a new option in clang-format-16.
This commit is contained in:
parent
aff81d318b
commit
c911781c21
243 changed files with 483 additions and 481 deletions
|
@ -52,7 +52,7 @@ public:
|
|||
void set_gid(gid_t gid) { m_gid = gid; }
|
||||
void set_shell(StringView shell) { m_shell = shell; }
|
||||
void set_gecos(StringView gecos) { m_gecos = gecos; }
|
||||
void set_deleted() { m_deleted = true; };
|
||||
void set_deleted() { m_deleted = true; }
|
||||
void set_extra_gids(Vector<gid_t> extra_gids) { m_extra_gids = move(extra_gids); }
|
||||
void delete_password();
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ public:
|
|||
}
|
||||
|
||||
// *Without* trailing newline!
|
||||
void set_general_help(char const* help_string) { m_general_help = help_string; };
|
||||
void set_general_help(char const* help_string) { m_general_help = help_string; }
|
||||
void set_stop_on_first_non_option(bool stop_on_first_non_option) { m_stop_on_first_non_option = stop_on_first_non_option; }
|
||||
void print_usage(FILE*, StringView argv0);
|
||||
void print_usage_terminal(FILE*, StringView argv0);
|
||||
|
|
|
@ -24,6 +24,6 @@ auto debounce(int timeout, TFunction function)
|
|||
}
|
||||
timer->start();
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -42,6 +42,6 @@ DirectoryEntry DirectoryEntry::from_dirent(dirent const& de)
|
|||
.type = directory_entry_type_from_posix(de.d_type),
|
||||
.name = de.d_name,
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -179,8 +179,8 @@ public:
|
|||
virtual ErrorOr<Bytes> read_some(Bytes buffer) override { return m_helper.read(buffer, default_flags()); }
|
||||
virtual ErrorOr<size_t> write_some(ReadonlyBytes buffer) override { return m_helper.write(buffer, default_flags()); }
|
||||
virtual bool is_eof() const override { return m_helper.is_eof(); }
|
||||
virtual bool is_open() const override { return m_helper.is_open(); };
|
||||
virtual void close() override { m_helper.close(); };
|
||||
virtual bool is_open() const override { return m_helper.is_open(); }
|
||||
virtual void close() override { m_helper.close(); }
|
||||
virtual ErrorOr<size_t> pending_bytes() const override { return m_helper.pending_bytes(); }
|
||||
virtual ErrorOr<bool> can_read_without_blocking(int timeout = 0) const override { return m_helper.can_read_without_blocking(timeout); }
|
||||
virtual void set_notifications_enabled(bool enabled) override
|
||||
|
|
|
@ -29,7 +29,7 @@ public:
|
|||
{
|
||||
struct sockaddr_in saddr;
|
||||
return receive(size, saddr);
|
||||
};
|
||||
}
|
||||
|
||||
ErrorOr<size_t> send(ReadonlyBytes, sockaddr_in const& to);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue