diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-03 17:38:00 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-03 17:38:00 +0000 |
commit | 3864ecd3821e90681b8f8f986a168b06f9538a6a (patch) | |
tree | 42aeca4f576eedcc94f4679038feaacca3acec46 /lib/libdisk/libdisk.h | |
parent | 687339a1f2d61a6d320ab967f1ec2109472db608 (diff) | |
download | FreeBSD-src-3864ecd3821e90681b8f8f986a168b06f9538a6a.zip FreeBSD-src-3864ecd3821e90681b8f8f986a168b06f9538a6a.tar.gz |
Export the chunk names properly.
Diffstat (limited to 'lib/libdisk/libdisk.h')
-rw-r--r-- | lib/libdisk/libdisk.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index 8758178..b3305a5 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: libdisk.h,v 1.8 1995/05/01 21:30:24 jkh Exp $ + * $Id: libdisk.h,v 1.9 1995/05/03 06:30:57 phk Exp $ * */ @@ -15,8 +15,7 @@ typedef enum {whole, unknown, fat, freebsd, extended, part, unused, reserved} chunk_e; -#define CHAR_N static char *chunk_n[] = { \ - "whole","unknown","fat","freebsd","extended","part","unused","reserved",0}; +extern char *chunk_n[]; struct disk { char *name; |