libarchive: Avoid trailing , in enum for XL v6 (#13148)
IBM xlc v6 cannot cope with a trailing ',' in enum definitions.
This commit is contained in:
parent
6218aba37a
commit
a8995ebe35
|
@ -197,7 +197,7 @@ struct isofile {
|
||||||
enum {
|
enum {
|
||||||
NO = 0,
|
NO = 0,
|
||||||
BOOT_CATALOG,
|
BOOT_CATALOG,
|
||||||
BOOT_IMAGE,
|
BOOT_IMAGE
|
||||||
} boot;
|
} boot;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -850,7 +850,7 @@ enum dir_rec_type {
|
||||||
DIR_REC_VD, /* Stored in Volume Descriptor. */
|
DIR_REC_VD, /* Stored in Volume Descriptor. */
|
||||||
DIR_REC_SELF, /* Stored as Current Directory. */
|
DIR_REC_SELF, /* Stored as Current Directory. */
|
||||||
DIR_REC_PARENT, /* Stored as Parent Directory. */
|
DIR_REC_PARENT, /* Stored as Parent Directory. */
|
||||||
DIR_REC_NORMAL, /* Stored as Child. */
|
DIR_REC_NORMAL /* Stored as Child. */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -860,7 +860,7 @@ enum vdc {
|
||||||
VDC_STD,
|
VDC_STD,
|
||||||
VDC_LOWERCASE,
|
VDC_LOWERCASE,
|
||||||
VDC_UCS2,
|
VDC_UCS2,
|
||||||
VDC_UCS2_DIRECT,
|
VDC_UCS2_DIRECT
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -897,7 +897,7 @@ struct idr {
|
||||||
|
|
||||||
enum char_type {
|
enum char_type {
|
||||||
A_CHAR,
|
A_CHAR,
|
||||||
D_CHAR,
|
D_CHAR
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -3989,7 +3989,7 @@ enum keytype {
|
||||||
KEY_FLG,
|
KEY_FLG,
|
||||||
KEY_STR,
|
KEY_STR,
|
||||||
KEY_INT,
|
KEY_INT,
|
||||||
KEY_HEX,
|
KEY_HEX
|
||||||
};
|
};
|
||||||
static void
|
static void
|
||||||
set_option_info(struct archive_string *info, int *opt, const char *key,
|
set_option_info(struct archive_string *info, int *opt, const char *key,
|
||||||
|
|
Loading…
Reference in New Issue