diff options
author | Matthias Koenig | 2008-11-27 12:32:55 +0100 |
---|---|---|
committer | Karel Zak | 2008-12-05 11:51:40 +0100 |
commit | d60819b36d1a9fcb6c0f9678b6549cd7810d0943 (patch) | |
tree | 22be16daee8ffe31da59e979376a23c73a4fbafd /disk-utils | |
parent | mount: remove spurious newline from mount.8 (diff) | |
download | kernel-qcow2-util-linux-d60819b36d1a9fcb6c0f9678b6549cd7810d0943.tar.gz kernel-qcow2-util-linux-d60819b36d1a9fcb6c0f9678b6549cd7810d0943.tar.xz kernel-qcow2-util-linux-d60819b36d1a9fcb6c0f9678b6549cd7810d0943.zip |
include: move swapheader.h to include
[kzak@redhat.com: add ifndef _SWAPHEADER_H]
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/Makefile.am | 2 | ||||
-rw-r--r-- | disk-utils/swapheader.h | 19 |
2 files changed, 1 insertions, 20 deletions
diff --git a/disk-utils/Makefile.am b/disk-utils/Makefile.am index f2d624527..c005ed590 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 9411e3d2d..000000000 --- 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]; -}; |