summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-26 03:49:40 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-26 03:49:40 +0000
commit9a3ced75d3a8f364a576c75765464fd54f2e505e (patch)
tree69392daea607c7a55bbb0a7fb25276fc7e1f61bd /src/ralloc.c
parentcb38a1a0d039d8f60956c210db37bac62e08b55c (diff)
downloademacs-9a3ced75d3a8f364a576c75765464fd54f2e505e.tar.gz
(POINTER): Always use char *.
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index e5860a1d784..a8ab0754268 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -33,6 +33,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* The important properties of this type are that 1) it's a pointer, and
2) arithmetic on it should work as if the size of the object pointed
to has a size of 1. */
+#if 0 /* Arithmetic on void* is a GCC extension. */
#ifdef __STDC__
typedef void *POINTER;
#else
@@ -44,6 +45,10 @@ typedef void *POINTER;
typedef char *POINTER;
#endif
+#endif /* 0 */
+
+/* Unconditionally use char * for this. */
+typedef char *POINTER;
typedef unsigned long SIZE;