Add UNUSED tag to system call function skeletons w/ S.

This commit is contained in:
EDiasAlberto
2024-11-04 01:02:04 +00:00
parent 2a9ab5ec97
commit f8e529e877

View File

@@ -105,76 +105,76 @@ exit (int status UNUSED)
} }
static pid_t static pid_t
exec (const char *cmd_line) exec (const char *cmd_line UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static int static int
wait (pid_t pid) wait (pid_t pid UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static bool static bool
file_create (const char *file, unsigned initial_size) file_create (const char *file UNUSED, unsigned initial_size UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static bool static bool
file_remove (const char *file) file_remove (const char *file UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static int static int
open (const char *file) open (const char *file UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static int static int
filesize (int fd) filesize (int fd UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static int static int
read (int fd, void *buffer, unsigned size) read (int fd UNUSED, void *buffer UNUSED, unsigned size UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static int static int
write (int fd, const void *buffer, unsigned size) write (int fd UNUSED, const void *buffer UNUSED, unsigned size UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static void static void
seek (int fd, unsigned position) seek (int fd UNUSED, unsigned position UNUSED)
{ {
//TODO //TODO
} }
static unsigned static unsigned
tell (int fd) tell (int fd UNUSED)
{ {
//TODO //TODO
return 0; return 0;
} }
static void static void
close (int fd) close (int fd UNUSED)
{ {
//TODO //TODO
} }