summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-16 17:48:10 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-16 17:48:10 +0000
commitdaad55a5fee70e2e8743ead5a95c20faead82727 (patch)
tree9989a3c6ebf1cf99ee5eb29a8498d1dfce532a6d /gcc
parentbc189ccb73216f77730a4d41f13791b0dd7655e3 (diff)
downloadppe42-gcc-daad55a5fee70e2e8743ead5a95c20faead82727.tar.gz
ppe42-gcc-daad55a5fee70e2e8743ead5a95c20faead82727.zip
* cppiles.c (purge_cache): Use PTR not caddr_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36458 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cppfiles.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a407372a5e8..c581bdf197c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 7f5c731c403..6b99b616e06 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -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;
OpenPOWER on IntegriCloud