mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
Fix all current build warnings in the userland.
This commit is contained in:
parent
e9cdb6bb9b
commit
3e0a0dd7ed
12 changed files with 42 additions and 25 deletions
|
@ -1,10 +1,12 @@
|
|||
#include <LibC/unistd.h>
|
||||
#include <LibC/stdio.h>
|
||||
#include <LibC/errno.h>
|
||||
#include <LibC/string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
int main(int c, char** v)
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
char buffer[HOST_NAME_MAX];
|
||||
int rc = gethostname(buffer, sizeof(buffer));
|
||||
if (rc < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue