From 452dd3e67867ab1f97ab8daf5f17bb1b94ea0e06 Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Sun, 6 Oct 2013 11:16:55 -0400 Subject: [PATCH] Add a bunch of clarifying comments to those timespec functions which are intended for duration timespecs. --- include/serial/impl/unix-timespec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/serial/impl/unix-timespec.h b/include/serial/impl/unix-timespec.h index c9b1295..b1b33a1 100644 --- a/include/serial/impl/unix-timespec.h +++ b/include/serial/impl/unix-timespec.h @@ -39,7 +39,7 @@ /*! Smooth over platform variances in getting an accurate timespec * representing the present moment. */ static inline struct timespec -get_time_now () +timespec_now () { struct timespec ts; # ifdef __MACH__ // OS X does not have clock_gettime, use clock_get_time