diff options
Diffstat (limited to 'src/fw_resp.c')
-rw-r--r-- | src/fw_resp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fw_resp.c b/src/fw_resp.c index 0775f8f..122eb4e 100644 --- a/src/fw_resp.c +++ b/src/fw_resp.c @@ -40,7 +40,7 @@ static const char *const err_msgs[] = { g_set_error(exception, HINAWA_FW_RESP_ERROR, HINAWA_FW_RESP_ERROR_FAILED, \ format " %d(%s)", arg, errno, strerror(errno)) -struct _HinawaFwRespPrivate { +typedef struct { HinawaFwNode *node; guint64 offset; @@ -51,7 +51,7 @@ struct _HinawaFwRespPrivate { gsize req_length; guint8 *resp_frame; gsize resp_length; -}; +} HinawaFwRespPrivate; G_DEFINE_TYPE_WITH_PRIVATE(HinawaFwResp, hinawa_fw_resp, G_TYPE_OBJECT) // This object has one property. |