]> arthur.barton.de Git - netdata.git/blobdiff - src/clocks.h
Fix typos when clock_id or struct timespec are not defined on the system
[netdata.git] / src / clocks.h
index 0db52c2f9d2722e429e8d611edd589b8fcea8732..9634ac67e5007e16efe3ddc8dead592089373054 100644 (file)
@@ -5,18 +5,18 @@
 struct timespec {
     time_t tv_sec;  /* seconds */
     long   tv_nsec; /* nanoseconds */
-}
+};
 #endif
 
 #ifndef HAVE_CLOCKID_T
-typedef int clockid_t
+typedef int clockid_t;
 #endif
 
 #ifndef HAVE_CLOCK_GETTIME
 int clock_gettime(clockid_t clk_id, struct timespec *ts);
 #endif
 
-/* Linux values are as good as any others */
+/* Linux value is as good as any other */
 #ifndef CLOCK_REALTIME
 #define CLOCK_REALTIME  0
 #endif