git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - Fixes from clang's scan-build tool
[tpg/acess2.git]
/
Kernel
/
vfs
/
mmap.c
diff --git
a/Kernel/vfs/mmap.c
b/Kernel/vfs/mmap.c
index
98137d4
..
7c3fdf4
100644
(file)
--- a/
Kernel/vfs/mmap.c
+++ b/
Kernel/vfs/mmap.c
@@
-21,7
+21,7
@@
struct sVFS_MMapPageBlock
};
// === CODE ===
};
// === CODE ===
-void *VFS_MMap(
int *ErrNo,
void *DestHint, size_t Length, int Protection, int Flags, int FD, Uint64 Offset)
+void *VFS_MMap(void *DestHint, size_t Length, int Protection, int Flags, int FD, Uint64 Offset)
{
tVFS_Handle *h;
tVAddr mapping_dest;
{
tVFS_Handle *h;
tVAddr mapping_dest;
@@
-115,7
+115,7
@@
void *VFS_MMap(int *ErrNo, void *DestHint, size_t Length, int Protection, int Fl
return NULL;
}
return NULL;
}
-int VFS_MUnmap(
int *ErrNo,
void *Addr, size_t Length)
+int VFS_MUnmap(void *Addr, size_t Length)
{
return 0;
}
{
return 0;
}
UCC
git Repository :: git.ucc.asn.au