1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
/* $Id: misc.h,v 1.4 2004/04/21 14:45:59 chris Exp $
*
* Christian Iseli, LICR ITO, Christian.Iseli@licr.org
*
* Copyright (c) 2001-2004 Swiss Institute of Bioinformatics.
* Copyright (C) 1998-2001 Liliana Florea.
* Copyright (C) 1998-2001 Scott Schwartz.
*/
#ifndef SIM_MISC_H
#define SIM_MISC_H
#ifdef __GNUC__
void
fatal(const char *fmt, ...)
__attribute__ ((format (printf, 1, 2) , __noreturn__));
#else
void
fatal(const char *fmt, ...);
#endif
void *xmalloc(size_t size);
void *xcalloc(size_t nmemb, size_t size);
void *xrealloc(void *ptr, size_t size);
#endif
|