summaryrefslogtreecommitdiff
path: root/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fd.c')
-rw-r--r--fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fd.c b/fd.c
index ce2931b..6ce4aec 100644
--- a/fd.c
+++ b/fd.c
@@ -15,7 +15,7 @@ struct fd fds[NFD];
* allocate a file descriptor number for curproc.
*/
int
-fd_ualloc()
+fd_ualloc(void)
{
int fd;
struct proc *p = curproc[cpu()];
@@ -29,7 +29,7 @@ fd_ualloc()
* allocate a file descriptor structure
*/
struct fd *
-fd_alloc()
+fd_alloc(void)
{
int i;