X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fcommon%2Ftry_malloc.h;fp=src%2Fcommon%2Ftry_malloc.h;h=0000000000000000000000000000000000000000;hb=a50806df8116a81729220bd79870639b18da9d8c;hp=14c51696bc12d61cfc1d1673d6c2ebbb6d062ec1;hpb=3a308dfb8b0ede5ab0a23d867cdf33394825538e;p=plomrogue diff --git a/src/common/try_malloc.h b/src/common/try_malloc.h deleted file mode 100644 index 14c5169..0000000 --- a/src/common/try_malloc.h +++ /dev/null @@ -1,22 +0,0 @@ -/* src/common/try_malloc.h - * - * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3 - * or any later version. For details on its copyright, license, and warranties, - * see the file NOTICE in the root directory of the PlomRogue source package. - * - * malloc() wrapper. - */ - -#ifndef TRY_MALLOC_H -#define TRY_MALLOC_H - -#include /* for size_t */ - - - -/* Call malloc("size") from function called "f"; exit_trouble() on error. */ -extern void * try_malloc(size_t size, const char * f); - - - -#endif