summaryrefslogtreecommitdiff
path: root/src/time/struct_timespec.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 15:47:08 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 15:47:08 -0400
commit700fbd205a1a428677876d322606b9a354221892 (patch)
treec1a521f3a2ea0346f293a543a9ed4ef6c1242b77 /src/time/struct_timespec.c
parentd36c832edee04db91e0c0ab635980c63844ca07c (diff)
add skeleton of things from C11
Diffstat (limited to 'src/time/struct_timespec.c')
-rw-r--r--src/time/struct_timespec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/time/struct_timespec.c b/src/time/struct_timespec.c
index ecf0c8ef..cd068bd9 100644
--- a/src/time/struct_timespec.c
+++ b/src/time/struct_timespec.c
@@ -1,5 +1,3 @@
-#include <time.h>
-
struct timespec {
time_t tv_sec; /* Seconds */
long tv_nsec; /* Nanoseonds */
@@ -7,4 +5,5 @@ struct timespec {
/*
POSIX(199309)
+STDC(201112)
*/