Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #include <sys/socket.h> | 1 #include <sys/socket.h> |
| 2 #include "syscall.h" | 2 #include "syscall.h" |
| 3 | 3 |
| 4 int getsockopt(int fd, int level, int optname, void *restrict optval, socklen_t *restrict optlen) | 4 int getsockopt(int fd, |
| 5 { | 5 int level, |
| 6 » return socketcall(getsockopt, fd, level, optname, optval, optlen, 0); | 6 int optname, |
| 7 void* restrict optval, | |
| 8 socklen_t* restrict optlen) { | |
| 9 return socketcall(getsockopt, fd, level, optname, optval, optlen, 0); | |
| 7 } | 10 } |
| OLD | NEW |