mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Remove long dead code.
This commit is contained in:
parent
8a34b67a07
commit
6f8b4fc03a
1 changed files with 0 additions and 15 deletions
|
|
@ -615,21 +615,6 @@ munmap(td, uap)
|
|||
return (0);
|
||||
}
|
||||
|
||||
#if 0
|
||||
void
|
||||
munmapfd(td, fd)
|
||||
struct thread *td;
|
||||
int fd;
|
||||
{
|
||||
/*
|
||||
* XXX should unmap any regions mapped to this file
|
||||
*/
|
||||
FILEDESC_LOCK(p->p_fd);
|
||||
td->td_proc->p_fd->fd_ofileflags[fd] &= ~UF_MAPPED;
|
||||
FILEDESC_UNLOCK(p->p_fd);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
struct mprotect_args {
|
||||
const void *addr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue