# HG changeset patch # User Dave Love # Date 952541181 0 # Node ID d53d22ce7f4bc47608b43881ef0c6a976fad2f1f # Parent 14c92796f826ca64dcbbc3e7e2aad8bbce33ec49 (P_): Define based on PROTOTYPES, not __STDC__. (memory_warnings): Declare using POINTER_TYPE. diff -r 14c92796f826 -r d53d22ce7f4b src/lisp.h --- 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));