mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibCore: Remove unused System::uname
This went unused.
This commit is contained in:
parent
0582c01c89
commit
41d04de1f2
Notes:
github-actions[bot]
2025-11-07 10:29:40 +00:00
Author: https://github.com/cqundefine
Commit: 41d04de1f2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6631
Reviewed-by: https://github.com/gmta ✅
2 changed files with 0 additions and 10 deletions
|
|
@ -520,14 +520,6 @@ ErrorOr<void> utimensat(int fd, StringView path, struct timespec const times[2],
|
|||
return {};
|
||||
}
|
||||
|
||||
ErrorOr<struct utsname> uname()
|
||||
{
|
||||
struct utsname uts;
|
||||
if (::uname(&uts) < 0)
|
||||
return Error::from_syscall("uname"sv, errno);
|
||||
return uts;
|
||||
}
|
||||
|
||||
ErrorOr<int> socket(int domain, int type, int protocol)
|
||||
{
|
||||
auto fd = ::socket(domain, type, protocol);
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
# include <sys/resource.h>
|
||||
# include <sys/socket.h>
|
||||
# include <sys/time.h>
|
||||
# include <sys/utsname.h>
|
||||
# include <sys/wait.h>
|
||||
# include <termios.h>
|
||||
# include <utime.h>
|
||||
|
|
@ -140,7 +139,6 @@ struct WaitPidResult {
|
|||
};
|
||||
ErrorOr<WaitPidResult> waitpid(pid_t waitee, int options = 0);
|
||||
ErrorOr<void> fchown(int fd, uid_t, gid_t);
|
||||
ErrorOr<struct utsname> uname();
|
||||
#endif
|
||||
|
||||
class AddressInfoVector {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue