From: Michal Privoznik Date: Tue, 1 Sep 2020 12:23:32 +0000 (+0200) Subject: virfile.c: Remove some #endif comments X-Git-Tag: v6.8.0-rc1~320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63b41d3f938bafb6c98887563bf30039f1d41072;p=thirdparty%2Flibvirt.git 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 Reviewed-by: Ján Tomko --- 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