aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2019-02-26 00:16:07 +0100
committerPetr Vorel <pvorel@suse.cz>2019-02-26 18:53:05 +0100
commitf0a83c362de66d7df70df89c5261047861bd2852 (patch)
treedd2ff4b9aa6afedfc83a7d9bfa81b49788706d35 /include
parent53eac722fd37d5601929d2354663ac071131c4a0 (diff)
Include lapi/posix_clocks.h in tst_safe_clocks.h
Although this not needed, users of tst_safe_clocks.h usually need also posix clock flags and it's safer to load them automatically so fixes like 938a1023d are not needed any more. + minor copyright formatting cleanup. Signed-off-by: Petr Vorel <pvorel@suse.cz> Acked-by: Jan Stancek <jstancek@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/tst_safe_clocks.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/tst_safe_clocks.h b/include/tst_safe_clocks.h
index 553f8464a..d5cd83394 100644
--- a/include/tst_safe_clocks.h
+++ b/include/tst_safe_clocks.h
@@ -1,11 +1,13 @@
-// SPDX-License-Identifier: GPL-2.0 or later
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * Copyright (c) Zilogic Systems Pvt. Ltd., 2018
- * Email : code@zilogic.com
+ * Copyright (c) 2019, Linux Test Project
+ * Copyright (c) Zilogic Systems Pvt. Ltd., 2018
+ * Email : code@zilogic.com
*/
#include <time.h>
#include "tst_test.h"
+#include "lapi/posix_clocks.h"
static inline void safe_clock_getres(const char *file, const int lineno,
clockid_t clk_id, struct timespec *res)