1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

complete the previous change

This commit is contained in:
Jim Meyering 2008-05-09 08:06:50 +00:00
parent 712251009b
commit 6d132b546d

View File

@ -79,7 +79,7 @@ enum {
};
/* Either 'magic' or 'extension' *must* be provided */
static const struct {
struct FileTypeInfo {
int type; /* One of the constants above */
const char *magic; /* Optional string of file magic
* to check at head of file */
@ -94,7 +94,8 @@ static const struct {
* -1 to use st_size as capacity */
int sizeBytes; /* Number of bytes for size field */
int sizeMultiplier; /* A scaling factor if size is not in bytes */
} fileTypeInfo[] = {
};
const struct FileTypeInfo const fileTypeInfo[] = {
/* Bochs */
/* XXX Untested
{ VIR_STORAGE_VOL_BOCHS, "Bochs Virtual HD Image", NULL,