mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
364f7e833d
There are no users of the function outside qdev-properties.c. Make function static and rename it to get_uint16(). Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20201211220529.2290218-14-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/*
|
|
* qdev property parsing
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef HW_CORE_QDEV_PROP_INTERNAL_H
|
|
#define HW_CORE_QDEV_PROP_INTERNAL_H
|
|
|
|
void qdev_propinfo_get_enum(Object *obj, Visitor *v, const char *name,
|
|
void *opaque, Error **errp);
|
|
void qdev_propinfo_set_enum(Object *obj, Visitor *v, const char *name,
|
|
void *opaque, Error **errp);
|
|
|
|
void qdev_propinfo_set_default_value_enum(ObjectProperty *op,
|
|
const Property *prop);
|
|
void qdev_propinfo_set_default_value_int(ObjectProperty *op,
|
|
const Property *prop);
|
|
void qdev_propinfo_set_default_value_uint(ObjectProperty *op,
|
|
const Property *prop);
|
|
|
|
void qdev_propinfo_get_int32(Object *obj, Visitor *v, const char *name,
|
|
void *opaque, Error **errp);
|
|
void qdev_propinfo_get_size32(Object *obj, Visitor *v, const char *name,
|
|
void *opaque, Error **errp);
|
|
|
|
#endif
|