Commit a8c0e5ea authored by Richard M. Stallman's avatar Richard M. Stallman

(POINTER): Always use char *.

parent bd0b85c3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment