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

Userland: Fix many compiler warnings.

This commit is contained in:
Andreas Kling 2019-06-22 15:47:08 +02:00
parent 0deade2883
commit 5980007e44
13 changed files with 22 additions and 19 deletions

View file

@ -1,11 +1,15 @@
#include <AK/StdLibExtras.h>
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
static volatile bool got_alarm = false;
int main(int c, char** v)
int main(int argc, char** argv)
{
UNUSED_PARAM(argc);
UNUSED_PARAM(argv);
unsigned ret = alarm(5);
printf("alarm() with no alarm set: %u\n", ret);
ret = alarm(2);