Skip to content
Snippets Groups Projects
Commit a6790efe authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-05-21 09:29:13 by simonm]

Don't use caddr_t in a file that claims to be POSIX compatible.
parent 5c23b659
No related merge requests found
......@@ -65,13 +65,12 @@ int mprotect PROTO((caddr_t, size_t, int));
#endif
void
unmapMiddleStackPage(addr_, size)
char * /*caddr_t*/ addr_;
unmapMiddleStackPage(addr, size)
char * /*caddr_t*/ addr;
int size;
{
int pagesize = GETPAGESIZE();
caddr_t addr = addr_;
caddr_t middle = (caddr_t) (((W_) (addr + size / 2)) / pagesize * pagesize);
char * middle = (caddr_t) (((W_) (addr + size / 2)) / pagesize * pagesize);
#if defined(cygwin32_TARGET_OS)
unsigned int old_prot;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment