From 4d673c9ad4c65c329a85ebb19c2812ae93183099 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 28 Jun 2018 16:57:21 -0700 Subject: diff: add timestamps to the ---/+++ lines and --color. (My apologies for mixing these two unrelated changes up.) --- lib/lib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index 353e262d..61a33fa7 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -250,6 +250,7 @@ char *getgroupname(gid_t gid); void do_lines(int fd, void (*call)(char **pline, long len)); long environ_bytes(); long long millitime(void); +char *format_iso_time(char *buf, size_t len, struct timespec *ts); #define HR_SPACE 1 // Space between number and units #define HR_B 2 // Use "B" for single byte units -- cgit v1.2.3