src/inc/common.h 1.169

1.169 2010/04/01 17:31:10 markd
fixed GCC portability issues
Index: src/inc/common.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/common.h,v
retrieving revision 1.168
retrieving revision 1.169
diff -b -B -U 4 -r1.168 -r1.169
--- src/inc/common.h	18 Mar 2010 01:53:09 -0000	1.168
+++ src/inc/common.h	1 Apr 2010 17:31:10 -0000	1.169
@@ -287,11 +287,15 @@
 __attribute__((format(printf, 2, 3)))
 #endif
     ;
 
+void verboseTimeInit(void);
+/* Initialize or reinitialize the previous time for use by verboseTime. */
+
 void verboseTime(int verbosity, char *label, ...)
-/* Print label and how long it's been since last call.  Call with
- * a NULL label to initialize.  Verbosity level 1 */
+/* Print label and how long it's been since last call.  Start time can be
+ * initialized with verboseTimeInit, otherwise the elapsed time will be
+ * zero. */
 #if defined(__GNUC__)
 __attribute__((format(printf, 2, 3)))
 #endif
     ;