提交 6d132b54 编写于 作者: J Jim Meyering

complete the previous change

上级 71225100
...@@ -79,7 +79,7 @@ enum { ...@@ -79,7 +79,7 @@ enum {
}; };
/* Either 'magic' or 'extension' *must* be provided */ /* Either 'magic' or 'extension' *must* be provided */
static const struct { struct FileTypeInfo {
int type; /* One of the constants above */ int type; /* One of the constants above */
const char *magic; /* Optional string of file magic const char *magic; /* Optional string of file magic
* to check at head of file */ * to check at head of file */
...@@ -94,7 +94,8 @@ static const struct { ...@@ -94,7 +94,8 @@ static const struct {
* -1 to use st_size as capacity */ * -1 to use st_size as capacity */
int sizeBytes; /* Number of bytes for size field */ int sizeBytes; /* Number of bytes for size field */
int sizeMultiplier; /* A scaling factor if size is not in bytes */ int sizeMultiplier; /* A scaling factor if size is not in bytes */
} fileTypeInfo[] = { };
const struct FileTypeInfo const fileTypeInfo[] = {
/* Bochs */ /* Bochs */
/* XXX Untested /* XXX Untested
{ VIR_STORAGE_VOL_BOCHS, "Bochs Virtual HD Image", NULL, { VIR_STORAGE_VOL_BOCHS, "Bochs Virtual HD Image", NULL,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册