]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
blkid: remove unnecessary header and comment
authorAndreas Dilger <adilger@dilger.ca>
Wed, 11 Jun 2014 18:59:05 +0000 (12:59 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 5 Jul 2014 03:59:45 +0000 (23:59 -0400)
commit51050544b5bf5d4a39b5ea06e8c808df0c7b267c
treebb72a1063658bb2636b5144550ebeecf603d92b0
parent3e500a8f116b0515d1507fe0ab4bf617664a6cdc
blkid: remove unnecessary header and comment

The LIST_HEAD macro is not directly used in getsize.c, so
<sys/queue.h> is not needed at all, and could cause confusion at
some later point if the Linux-style list macros are ever used.

Build was verified on MacOS which defined HAVE_SYS_DISK_H true.
I manually inspected the sources for recent *BSD headers to check
if this was needed there or not.  MacOS and FreeBSD <sys/disk.h>
do not use lists at all.  NetBSD and OpenBSD <sys/disk.h> and all
of the <sys/mount.h> headers include <sys/queue.h> internally.

I used http://fxr.watson.org/fxr/source/sys/mount.h?v={OSTYPE}
as a reference, checking both old and new *BSD versions.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
configure
configure.in
lib/blkid/getsize.c
lib/config.h.in
lib/ext2fs/getsize.c