diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-05-21 05:30:25 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-05-21 05:30:25 +0000 |
| commit | 39f2269fcb4873fd97d70af944ec49f4230fadea (patch) | |
| tree | bd986d58f5a6e348466b5362637ba93e6cd5bf8c /contrib/ncurses/include/nc_alloc.h | |
| parent | 7e6a63408cfb0b48f0e41f77ed82f5d0ca60bda5 (diff) | |
Notes
Diffstat (limited to 'contrib/ncurses/include/nc_alloc.h')
| -rw-r--r-- | contrib/ncurses/include/nc_alloc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/ncurses/include/nc_alloc.h b/contrib/ncurses/include/nc_alloc.h index 5ac5a78d3bd6..c7317a096c52 100644 --- a/contrib/ncurses/include/nc_alloc.h +++ b/contrib/ncurses/include/nc_alloc.h @@ -29,7 +29,7 @@ /**************************************************************************** * Author: Thomas E. Dickey <dickey@clark.net> 1996,1997 * ****************************************************************************/ -/* $Id: nc_alloc.h,v 1.8 2000/04/08 23:42:57 tom Exp $ */ +/* $Id: nc_alloc.h,v 1.10 2001/12/08 23:49:44 tom Exp $ */ #ifndef NC_ALLOC_included #define NC_ALLOC_included 1 @@ -66,14 +66,14 @@ extern void _nc_leaks_dump_entry(void); #endif #ifndef ExitProgram -#define ExitProgram(code) return code +#define ExitProgram(code) exit(code) #endif /* doalloc.c */ -extern void *_nc_doalloc(void *, size_t); +extern NCURSES_EXPORT(void *) _nc_doalloc(void *, size_t); #if !HAVE_STRDUP #define strdup _nc_strdup -extern char *_nc_strdup(const char *); +extern NCURSES_EXPORT(char *) _nc_strdup(const char *); #endif #define typeMalloc(type,elts) (type *)malloc((elts)*sizeof(type)) |
