From 1b74dfe1877676b914af6dcedd2d7578164aab47 Mon Sep 17 00:00:00 2001 From: mayurdahibhate Date: Thu, 29 Apr 2021 20:42:43 +0530 Subject: cleaned up includes with iwyu --- generic/gettime.h | 1 - generic/uname.c | 9 ++++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'generic') diff --git a/generic/gettime.h b/generic/gettime.h index 87dfd746..c124d035 100644 --- a/generic/gettime.h +++ b/generic/gettime.h @@ -9,7 +9,6 @@ in the source distribution for its full text. #include #include -#include void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec); diff --git a/generic/uname.c b/generic/uname.c index 5058c418..b77bc8a9 100644 --- a/generic/uname.c +++ b/generic/uname.c @@ -6,15 +6,18 @@ in the source distribution for its full text. */ #include "config.h" // IWYU pragma: keep +#include +#include +#include + +#include "Macros.h" +#include "XUtils.h" #include "generic/uname.h" -#include #ifdef HAVE_SYS_UTSNAME_H #include #endif -#include "XUtils.h" - #ifndef OSRELEASEFILE #define OSRELEASEFILE "/etc/os-release" -- cgit v1.2.3