virfile.c: Remove some #endif comments

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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik 2020-09-01 14:23:32 +02:00
parent e1178d55c6
commit 63b41d3f93

View File

@ -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>