Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9043c90a
Commit
9043c90a
authored
Mar 08, 2000
by
Dave Love
Browse files
(P_): Define based on PROTOTYPES, not __STDC__.
(memory_warnings): Declare using POINTER_TYPE.
parent
3f5b097c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
src/lisp.h
src/lisp.h
+3
-7
No files found.
src/lisp.h
View file @
9043c90a
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment