diff options
| author | Dave Love | 2000-03-08 18:46:21 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-08 18:46:21 +0000 |
| commit | 9043c90a5e62959695644faee52ef9e5328a8f04 (patch) | |
| tree | 3cd695b5752728cdd6b5c82f8205c8bda1b5e90c /src | |
| parent | 3f5b097c6db746db99934853c6744a1e1664094d (diff) | |
| download | emacs-9043c90a5e62959695644faee52ef9e5328a8f04.tar.gz emacs-9043c90a5e62959695644faee52ef9e5328a8f04.zip | |
(P_): Define based on PROTOTYPES, not __STDC__.
(memory_warnings): Declare using POINTER_TYPE.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lisp.h b/src/lisp.h index 64daefe4649..697fd939ddc 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -20,7 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |||
| 20 | Boston, MA 02111-1307, USA. */ | 20 | Boston, MA 02111-1307, USA. */ |
| 21 | 21 | ||
| 22 | /* Declare the prototype for a general external function. */ | 22 | /* Declare the prototype for a general external function. */ |
| 23 | #if defined (__STDC__) || defined (WINDOWSNT) | 23 | #if defined (PROTOTYPES) || defined (WINDOWSNT) |
| 24 | #define P_(proto) proto | 24 | #define P_(proto) proto |
| 25 | #else | 25 | #else |
| 26 | #define P_(proto) () | 26 | #define P_(proto) () |
| @@ -2087,12 +2087,8 @@ extern void syms_of_xdisp P_ ((void)); | |||
| 2087 | extern void init_xdisp P_ ((void)); | 2087 | extern void init_xdisp P_ ((void)); |
| 2088 | 2088 | ||
| 2089 | /* Defined in vm-limit.c. */ | 2089 | /* Defined in vm-limit.c. */ |
| 2090 | #ifdef __STDC__ | 2090 | extern void memory_warnings P_ ((POINTER_TYPE *, void (*warnfun) ())); |
| 2091 | extern void memory_warnings P_ ((void *, void (*warnfun) ())); | 2091 | |
| 2092 | #else | ||
| 2093 | extern void memory_warnings P_ ((char *, void (*warnfun) ())); | ||
| 2094 | #endif | ||
| 2095 | |||
| 2096 | /* Defined in alloc.c */ | 2092 | /* Defined in alloc.c */ |
| 2097 | extern void allocate_string_data P_ ((struct Lisp_String *, int, int)); | 2093 | extern void allocate_string_data P_ ((struct Lisp_String *, int, int)); |
| 2098 | extern void uninterrupt_malloc P_ ((void)); | 2094 | extern void uninterrupt_malloc P_ ((void)); |