aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-05-05 16:28:36 +0200
committerEduardo Habkost <ehabkost@redhat.com>2020-09-18 13:49:54 -0400
commitbda90507a447e15ad425e080c688414073aba695 (patch)
tree98223a51bb248b9fea3fda1953cf53f99c874f40
parentf701c082e72d4786686dfd1d9d877b64dc1d2804 (diff)
downloadqemu-bda90507a447e15ad425e080c688414073aba695.zip
qemu-bda90507a447e15ad425e080c688414073aba695.tar.gz
qemu-bda90507a447e15ad425e080c688414073aba695.tar.bz2
hw/i386/vmport: Drop superfluous parenthesis around function typedef
Drop superfluous parenthesis around VMPortReadFunc typedef (added in d67f679d99, missed to remove when moved in e595112985). Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200505142836.16903-1-philmd@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
-rw-r--r--include/hw/i386/vmport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/i386/vmport.h b/include/hw/i386/vmport.h
index c380b9c..8f5e27c 100644
--- a/include/hw/i386/vmport.h
+++ b/include/hw/i386/vmport.h
@@ -4,7 +4,7 @@
#include "hw/isa/isa.h"
#define TYPE_VMPORT "vmport"
-typedef uint32_t (VMPortReadFunc)(void *opaque, uint32_t address);
+typedef uint32_t VMPortReadFunc(void *opaque, uint32_t address);
typedef enum {
VMPORT_CMD_GETVERSION = 10,