malloc() etc. are prototyped in stdlib.h; no need for the declarations

here.
This commit is contained in:
William McBrine
2006-07-06 15:51:55 +00:00
parent 7745c6d713
commit a91035487a

View File

@@ -38,7 +38,7 @@
# undef wnoutrefresh
#endif
RCSID("$Id: initscr.c,v 1.43 2006/07/05 20:20:46 wmcbrine Exp $");
RCSID("$Id: initscr.c,v 1.44 2006/07/06 15:51:55 wmcbrine Exp $");
const char *_curses_notice = "PDCurses 2.8 - Public Domain 2006";
@@ -80,12 +80,6 @@ extern void *ecalloc(size_t, size_t); /* user's ecalloc(num, size) */
extern void efree(void *); /* user's efree(ptr) */
#endif
#ifndef XCURSES
extern void *malloc(size_t); /* runtime's malloc(size) */
extern void *calloc(size_t, size_t); /* runtime's calloc(num, size) */
extern void free(void *); /* runtime's free(ptr) */
#endif
void* (*mallc)(size_t); /* ptr to some malloc(size) */
void* (*callc)(size_t, size_t); /* ptr to some ecalloc(num, size) */
void (*fre)(void *); /* ptr to some free(ptr) */