diff options
author | peter <peter@FreeBSD.org> | 2002-05-21 05:30:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-05-21 05:30:25 +0000 |
commit | 9a7523d4b2c09cefef7372e8a011b8d54fb07e5e (patch) | |
tree | bd986d58f5a6e348466b5362637ba93e6cd5bf8c /contrib/ncurses/include/nc_alloc.h | |
parent | 635048e64c28721e175b82444857d679f6740aa2 (diff) | |
download | FreeBSD-src-9a7523d4b2c09cefef7372e8a011b8d54fb07e5e.zip FreeBSD-src-9a7523d4b2c09cefef7372e8a011b8d54fb07e5e.tar.gz |
Import ncurses-5.2-20020518 onto the vendor branch.
Obtained from: ftp://dickey.his.com/ncurses/
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 5ac5a78..c7317a0 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)) |