Fix comment re dmemdumpl()
[u/mdw/putty] / misc.h
diff --git a/misc.h b/misc.h
index 7739446..ae883e1 100644 (file)
--- a/misc.h
+++ b/misc.h
@@ -5,6 +5,7 @@
 
 #include <stdio.h>                    /* for FILE * */
 #include <stdarg.h>                   /* for va_list */
+#include <time.h>                      /* for struct tm */
 
 #ifndef FALSE
 #define FALSE 0
@@ -41,6 +42,8 @@ void bufchain_prefix(bufchain *ch, void **data, int *len);
 void bufchain_consume(bufchain *ch, int len);
 void bufchain_fetch(bufchain *ch, void *data, int len);
 
+struct tm ltime(void);
+
 /*
  * Debugging functions.
  *
@@ -49,7 +52,7 @@ void bufchain_fetch(bufchain *ch, void *data, int len);
  * debug(()) (note the double brackets) is like printf().
  *
  * dmemdump() and dmemdumpl() both do memory dumps.  The difference
- * is that dmemdumpl() is more suited for when where the memory is is
+ * is that dmemdumpl() is more suited for when the memory address is
  * important (say because you'll be recording pointer values later
  * on).  dmemdump() is more concise.
  */