[CRIU] [PATCH 0/2] soccr: includes cleanup

Andrei Vagin avagin at virtuozzo.com
Fri May 5 16:12:25 PDT 2017


Applied, thanks!
On Fri, Apr 28, 2017 at 09:28:36PM +0300, Dmitry Safonov wrote:
> So, while working on some issue, I've included "parasite-service.h"
> header and there was a compilation error: that header used something
> from other header, which I haven't included in this C file.
> What a pitfall!
> 
> So, I came to this tool named "Include What You Use":
> https://github.com/include-what-you-use/include-what-you-use
> 
> With some little hackery to makefiles I ran it on .h, .c files.
> 
> For the beginning here are simple patches for soccr library.
> I've ran it over compel also, but yet didn't split result on
> formatted patches set.
> 
> Dmitry Safonov (2):
>   soccr.h: use uint32_t instead of __u32
>   soccr: clean a bit includes list
> 
>  soccr/soccr.c | 10 ++++------
>  soccr/soccr.h | 45 ++++++++++++++++++++++-----------------------
>  2 files changed, 26 insertions(+), 29 deletions(-)
> 
> -- 
> 2.12.2
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list