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:
parent
0deade2883
commit
5980007e44
13 changed files with 22 additions and 19 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue