diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-10-26 21:13:00 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-10-26 21:13:00 (GMT) |
commit | da2e3d212171bbe64c1af39114fd067308656990 (patch) | |
tree | 9601f7ed15fa1394762124630c12a792bc073ec2 /funtools/util/xalloc.h | |
parent | 76b109ad6d97d19ab835596dc70149ef379f3733 (diff) | |
download | blt-da2e3d212171bbe64c1af39114fd067308656990.zip blt-da2e3d212171bbe64c1af39114fd067308656990.tar.gz blt-da2e3d212171bbe64c1af39114fd067308656990.tar.bz2 |
rm funtools for update
Diffstat (limited to 'funtools/util/xalloc.h')
-rw-r--r-- | funtools/util/xalloc.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/funtools/util/xalloc.h b/funtools/util/xalloc.h deleted file mode 100644 index 09f74b0..0000000 --- a/funtools/util/xalloc.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2004 Smithsonian Astrophysical Observatory - */ - -/* - * - * xalloc.h -- declarations for safe (error-checked) memory allocation - * - */ - -#ifndef __xalloc_h -#define __xalloc_h - -#if HAVE_CONFIG_H -#include "conf.h" -#endif - -#include <sys/types.h> -#if HAVE_STRING_H -#include <string.h> -#endif -#if HAVE_MALLOC_H -#include <malloc.h> -#endif -#if HAVE_STDLIB_H -#include <stdlib.h> -#endif -#if HAVE_UNISTD_H -#include <unistd.h> -#endif -#ifdef HAVE_SETJMP_H -#define XALLOC_SETJMP 142857 -#include <setjmp.h> -#endif - -#include "prsetup.h" - -_PRbeg - -void *xmalloc _PRx((size_t n)); -void *xcalloc _PRx((size_t n, size_t s)); -void *xrealloc _PRx((void *p, size_t n)); -void xfree _PRx((void *p)); -char *xstrdup _PRx((char *s)); -#if HAVE_SETJMP -void xalloc_savejmp _PRx((jmp_buf *env)); -#endif - -_PRend - -#endif |