Signed-off-by: Matthias Koenig <mkoenig@xxxxxxx> --- 0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/disk-utils/Makefile.am b/disk-utils/Makefile.am index f2d6245..c005ed5 100644 --- a/disk-utils/Makefile.am +++ b/disk-utils/Makefile.am @@ -12,7 +12,7 @@ sbin_PROGRAMS = mkfs mkswap fsck.minix mkfs.minix mkfs.bfs fsck_minix_SOURCES = fsck.minix.c bitops.h minix.h mkfs_minix_SOURCES = mkfs.minix.c bitops.h minix.h $(utils_common) mkfs_bfs_SOURCES = mkfs.bfs.c $(utils_common) -mkswap_SOURCES = mkswap.c swapheader.h $(utils_common) +mkswap_SOURCES = mkswap.c $(utils_common) usrbinexec_PROGRAMS = isosize usrsbinexec_PROGRAMS = diff --git a/disk-utils/swapheader.h b/disk-utils/swapheader.h deleted file mode 100644 index 9411e3d..0000000 --- a/disk-utils/swapheader.h +++ /dev/null @@ -1,19 +0,0 @@ -struct swap_header_v1 { - char bootbits[1024]; /* Space for disklabel etc. */ - unsigned int version; - unsigned int last_page; - unsigned int nr_badpages; - unsigned int padding[125]; - unsigned int badpages[1]; -}; - -struct swap_header_v1_2 { - char bootbits[1024]; /* Space for disklabel etc. */ - unsigned int version; - unsigned int last_page; - unsigned int nr_badpages; - unsigned char uuid[16]; - char volume_name[16]; - unsigned int padding[117]; - unsigned int badpages[1]; -}; diff --git a/include/swapheader.h b/include/swapheader.h new file mode 100644 index 0000000..9411e3d --- /dev/null +++ b/include/swapheader.h @@ -0,0 +1,19 @@ +struct swap_header_v1 { + char bootbits[1024]; /* Space for disklabel etc. */ + unsigned int version; + unsigned int last_page; + unsigned int nr_badpages; + unsigned int padding[125]; + unsigned int badpages[1]; +}; + +struct swap_header_v1_2 { + char bootbits[1024]; /* Space for disklabel etc. */ + unsigned int version; + unsigned int last_page; + unsigned int nr_badpages; + unsigned char uuid[16]; + char volume_name[16]; + unsigned int padding[117]; + unsigned int badpages[1]; +}; -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html