home · contact · privacy
Slightly improved code style and comments in sorted_wintoggle_and_activate().
[plomrogue] / src / misc.h
index bc3e274a5c2c3a181396a630f60f574123a2d889..ddc6be6617c8b691fd06dd57365f5b1afa71b9d4 100644 (file)
@@ -20,8 +20,8 @@ struct Map;
  */
 extern uint16_t rrand();
 
-/* Returns message: "Trouble in ".parent." with ".child."." (try_*() helper) */
-extern char * trouble_msg(char * parent, char * child);
+/* Do exit_err() with message: "Trouble in ".parent." with ".child."." */
+extern void exit_trouble(uint8_t test, char * parent, char * child);
 
 /* Wrappers to malloc(), calloc() from function called "f" calling exit_err()
  * with trouble_msg() error message if necessary.