1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibC: move in_addr and sockaddr_in to netinet/in.h

This commit is contained in:
joshua stein 2020-01-01 20:45:02 -06:00 committed by Andreas Kling
parent 93e1728818
commit f22322a06c
2 changed files with 11 additions and 11 deletions

View file

@ -35,17 +35,6 @@ struct sockaddr {
char sa_data[14];
};
struct in_addr {
uint32_t s_addr;
};
struct sockaddr_in {
uint16_t sin_family;
uint16_t sin_port;
struct in_addr sin_addr;
char sin_zero[8];
};
struct ucred {
pid_t pid;
uid_t uid;