From 63b41d3f938bafb6c98887563bf30039f1d41072 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 1 Sep 2020 14:23:32 +0200 Subject: [PATCH] virfile.c: Remove some #endif comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are couple of conditional #includes at the beginning of virfile.c and they try to be nice and document #endifs. But they are mostly wrong because either they have the condition in the comment inverted or the comment refers to a different condition than they belong to. Just remove the comments as these #includes are single line mostly. Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko --- src/util/virfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/virfile.c b/src/util/virfile.c index 09658c1623..716bf62593 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -28,19 +28,19 @@ #include #ifndef WIN32 # include -#endif /* !WIN32 */ +#endif #ifdef HAVE_PTY_H /* Linux openpty */ # include -#endif /* !HAVE_PTY_H */ +#endif #ifdef HAVE_UTIL_H /* macOS openpty */ # include -#endif /* !HAVE_LIBUTIL_H */ +#endif #ifdef HAVE_LIBUTIL_H /* FreeBSD openpty */ # include -#endif /* !HAVE_LIBUTIL_H */ +#endif #include #if defined(HAVE_SYS_MOUNT_H) # include