home · contact · privacy
License everything (GPL).
[plomrogue] / src / common / try_malloc.h
index 9cf76f2012d4f4d3856cc3f08f807e2ac7602e9e..14c51696bc12d61cfc1d1673d6c2ebbb6d062ec1 100644 (file)
@@ -1,4 +1,8 @@
 /* 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.
  */
@@ -11,7 +15,7 @@
 
 
 /* Call malloc("size") from function called "f"; exit_trouble() on error. */
-extern void * try_malloc(size_t size, char * f);
+extern void * try_malloc(size_t size, const char * f);