aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-26 03:49:40 +0000
committerRichard M. Stallman1993-05-26 03:49:40 +0000
commita8c0e5ea6b7639c4cabd939676764062f11b96a5 (patch)
tree02218096a50f4c89b98a455881ed1709d86b0450 /src
parentbd0b85c32a17aa890c607d9192f46af1b2b5f0f9 (diff)
downloademacs-a8c0e5ea6b7639c4cabd939676764062f11b96a5.tar.gz
emacs-a8c0e5ea6b7639c4cabd939676764062f11b96a5.zip
(POINTER): Always use char *.
Diffstat (limited to 'src')
-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. */
33/* The important properties of this type are that 1) it's a pointer, and 33/* The important properties of this type are that 1) it's a pointer, and
34 2) arithmetic on it should work as if the size of the object pointed 34 2) arithmetic on it should work as if the size of the object pointed
35 to has a size of 1. */ 35 to has a size of 1. */
36#if 0 /* Arithmetic on void* is a GCC extension. */
36#ifdef __STDC__ 37#ifdef __STDC__
37typedef void *POINTER; 38typedef void *POINTER;
38#else 39#else
@@ -44,6 +45,10 @@ typedef void *POINTER;
44typedef char *POINTER; 45typedef char *POINTER;
45 46
46#endif 47#endif
48#endif /* 0 */
49
50/* Unconditionally use char * for this. */
51typedef char *POINTER;
47 52
48typedef unsigned long SIZE; 53typedef unsigned long SIZE;
49 54