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 <mprivozn(a)redhat.com>
---
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 <fcntl.h>
#ifndef WIN32
# include <termios.h>
-#endif /* !WIN32 */
+#endif
#ifdef HAVE_PTY_H
/* Linux openpty */
# include <pty.h>
-#endif /* !HAVE_PTY_H */
+#endif
#ifdef HAVE_UTIL_H
/* macOS openpty */
# include <util.h>
-#endif /* !HAVE_LIBUTIL_H */
+#endif
#ifdef HAVE_LIBUTIL_H
/* FreeBSD openpty */
# include <libutil.h>
-#endif /* !HAVE_LIBUTIL_H */
+#endif
#include <sys/stat.h>
#if defined(HAVE_SYS_MOUNT_H)
# include <sys/mount.h>
--
2.26.2