X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/d57f70afa40c24426e5f936c86f7640801d43f7a..2c72609a1654819cee41fa4c202c15a6577461ee:/misc.h diff --git a/misc.h b/misc.h index 77394469..ae883e16 100644 --- a/misc.h +++ b/misc.h @@ -5,6 +5,7 @@ #include /* for FILE * */ #include /* for va_list */ +#include /* 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. */