aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-01 22:20:47 +0400
committermalc <av1474@comtv.ru>2009-10-01 22:45:02 +0400
commit99a0949b720a0936da2052cb9a46db04ffc6db29 (patch)
treef9e39633853e35b49fc4465337cc196b9650866e /qemu-img.c
parentbc6291a1b95a2c4c546fde6e5cb4c68366f06649 (diff)
downloadqemu-99a0949b720a0936da2052cb9a46db04ffc6db29.zip
qemu-99a0949b720a0936da2052cb9a46db04ffc6db29.tar.gz
qemu-99a0949b720a0936da2052cb9a46db04ffc6db29.tar.bz2
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'qemu-img.c')
-rw-r--r--qemu-img.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/qemu-img.c b/qemu-img.c
index 070fe2e..b317305 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -31,10 +31,10 @@
#include <windows.h>
#endif
-typedef struct img_cmd_t {
+typedef struct img_cmd {
const char *name;
int (*handler)(int argc, char **argv);
-} img_cmd_t;
+} a_img_cmd;
/* Default to cache=writeback as data integrity is not important for qemu-tcg. */
#define BRDV_O_FLAGS BDRV_O_CACHE_WB
@@ -1035,7 +1035,7 @@ static int img_snapshot(int argc, char **argv)
return 0;
}
-static const img_cmd_t img_cmds[] = {
+static const a_img_cmd img_cmds[] = {
#define DEF(option, callback, arg_string) \
{ option, callback },
#include "qemu-img-cmds.h"
@@ -1046,7 +1046,7 @@ static const img_cmd_t img_cmds[] = {
int main(int argc, char **argv)
{
- const img_cmd_t *cmd;
+ const a_img_cmd *cmd;
const char *cmdname;
bdrv_init();