+/*** Modules ***/
+
+// paperjam.cc
+
+extern const char *in_name, *out_name;
+extern bool recalc_bbox;
+extern int debug_mode;
+extern int debug_indent;
+
+void debug(const char *msg, ...) FORMAT_CHECK(printf, 1, 2);
+void warn(const char *msg, ...) FORMAT_CHECK(printf, 1, 2);
+void die(const char *msg, ...) FORMAT_CHECK(printf, 1, 2) NONRET;
+