diff options
author | Karel Zak <kzak@redhat.com> | 2007-06-27 23:36:08 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2007-06-27 23:36:08 +0200 |
commit | 024353c9ea8a53da522a512fd2a4029a4aad3da3 (patch) | |
tree | f79f564b410ba1598394332e1e5cb43966c066b9 /fdisk/fdisksunlabel.h | |
parent | d99f0140f71cbdce7aae8128e7400bc1cf22fe53 (diff) | |
download | util-linux-old-024353c9ea8a53da522a512fd2a4029a4aad3da3.tar.gz |
fdisk: move duplicate stuff from fdisk*label.h to fdisk.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk/fdisksunlabel.h')
-rw-r--r-- | fdisk/fdisksunlabel.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/fdisk/fdisksunlabel.h b/fdisk/fdisksunlabel.h index 312bfea0..e322e66e 100644 --- a/fdisk/fdisksunlabel.h +++ b/fdisk/fdisksunlabel.h @@ -1,3 +1,6 @@ +#ifndef FDISK_SUN_LABEL_H +#define FDISK_SUN_LABEL_H + #include <linux/types.h> /* for __u16, __u32 */ typedef struct { @@ -35,19 +38,6 @@ typedef struct { : (__u16)(x)) #define SSWAP32(x) (other_endian ? __swap32(x) \ : (__u32)(x)) - -/* fdisk.c */ -extern unsigned char MBRbuffer[MAX_SECTOR_SIZE]; -extern unsigned int heads, cylinders; -extern unsigned long long sectors; -extern int show_begin; -extern int sun_label; -extern char *partition_type(unsigned char type); -extern void update_units(void); -extern char read_chars(char *mesg); -extern void set_all_unchanged(void); -extern void set_changed(int); - /* fdisksunlabel.c */ #define SUNOS_SWAP 3 #define WHOLE_DISK 5 @@ -72,3 +62,4 @@ extern void sun_set_rspeed(void); extern void sun_set_pcylcount(void); extern void toggle_sunflags(int i, unsigned char mask); +#endif /* FDISK_SUN_LABEL_H */ |