* cppiles.c (purge_cache): Use PTR not caddr_t.
From-SVN: r36458
This commit is contained in:
parent
4faefccb49
commit
6f84c9bdaa
|
@ -1,3 +1,7 @@
|
|||
2000-09-16 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* cppiles.c (purge_cache): Use PTR not caddr_t.
|
||||
|
||||
2000-09-16 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* gcc.c: In description for %{<S}, say the option removed is -S.
|
||||
|
|
|
@ -364,7 +364,7 @@ purge_cache (inc)
|
|||
if (inc->buffer)
|
||||
{
|
||||
if (inc->mapped)
|
||||
munmap ((caddr_t) inc->buffer, inc->st.st_size);
|
||||
munmap ((PTR) inc->buffer, inc->st.st_size);
|
||||
else
|
||||
free ((PTR) inc->buffer);
|
||||
inc->buffer = NULL;
|
||||
|
|
Loading…
Reference in New Issue