summaryrefslogtreecommitdiff
path: root/fd.c
diff options
context:
space:
mode:
authorrsc <rsc>2006-07-17 01:25:22 +0000
committerrsc <rsc>2006-07-17 01:25:22 +0000
commitc54c79267fd4c3404000b3c545c428209e4d8a3d (patch)
tree575779df60f79558c183f08646f77fdf39f6bad8 /fd.c
parent564f787e916392af7b1960d079abf110234305d4 (diff)
downloadxv6-labs-c54c79267fd4c3404000b3c545c428209e4d8a3d.tar.gz
xv6-labs-c54c79267fd4c3404000b3c545c428209e4d8a3d.tar.bz2
xv6-labs-c54c79267fd4c3404000b3c545c428209e4d8a3d.zip
nitpicks
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;