changeset 28054:d53d22ce7f4b

(P_): Define based on PROTOTYPES, not __STDC__. (memory_warnings): Declare using POINTER_TYPE.
author Dave Love <fx@gnu.org>
date Wed, 08 Mar 2000 18:46:21 +0000
parents 14c92796f826
children 14f9303d9d82
files src/lisp.h
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Wed Mar 08 18:40:13 2000 +0000
+++ b/src/lisp.h	Wed Mar 08 18:46:21 2000 +0000
@@ -20,7 +20,7 @@
 Boston, MA 02111-1307, USA.  */
 
 /* Declare the prototype for a general external function.  */
-#if defined (__STDC__) || defined (WINDOWSNT)
+#if defined (PROTOTYPES) || defined (WINDOWSNT)
 #define P_(proto) proto
 #else
 #define P_(proto) ()
@@ -2087,12 +2087,8 @@
 extern void init_xdisp P_ ((void));
 
 /* Defined in vm-limit.c.  */
-#ifdef __STDC__
-extern void memory_warnings P_ ((void *, void (*warnfun) ()));
-#else
-extern void memory_warnings P_ ((char *, void (*warnfun) ()));
-#endif
-				
+extern void memory_warnings P_ ((POINTER_TYPE *, void (*warnfun) ()));
+
 /* Defined in alloc.c */
 extern void allocate_string_data P_ ((struct Lisp_String *, int, int));
 extern void uninterrupt_malloc P_ ((void));