mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(P_): Define based on PROTOTYPES, not __STDC__.
(memory_warnings): Declare using POINTER_TYPE.
This commit is contained in:
parent
3f5b097c6d
commit
9043c90a5e
1 changed files with 3 additions and 7 deletions
10
src/lisp.h
10
src/lisp.h
|
|
@ -20,7 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|||
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 syms_of_xdisp P_ ((void));
|
|||
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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue