6ae1c8c4d1aa4ddb5063e76b1055259d572367a1
tdreszer
  Wed Jul 7 13:08:23 2010 -0700
Added warnWithBackTrace() to aid simple detective work.
diff --git src/inc/common.h src/inc/common.h
index 6ddd7e9..9b2752b 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -279,6 +279,13 @@
 #endif
 ;
 
+void warnWithBackTrace(char *format, ...)
+/* Issue a warning message and append backtrace. */
+#if defined(__GNUC__)
+__attribute__((format(printf, 1, 2)))
+#endif
+;
+
 void verbose(int verbosity, char *format, ...)
 /* Write printf formatted message to log (which by
  * default is stdout) if global verbose variable