summaryrefslogtreecommitdiffstats
path: root/chardev/wctablet.c
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/wctablet.c')
-rw-r--r--chardev/wctablet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chardev/wctablet.c b/chardev/wctablet.c
index 361a12fdd4..95e005f5a5 100644
--- a/chardev/wctablet.c
+++ b/chardev/wctablet.c
@@ -86,8 +86,8 @@ struct TabletChardev {
typedef struct TabletChardev TabletChardev;
#define TYPE_CHARDEV_WCTABLET "chardev-wctablet"
-#define WCTABLET_CHARDEV(obj) \
- OBJECT_CHECK(TabletChardev, (obj), TYPE_CHARDEV_WCTABLET)
+DECLARE_INSTANCE_CHECKER(TabletChardev, WCTABLET_CHARDEV,
+ TYPE_CHARDEV_WCTABLET)
static void wctablet_chr_accept_input(Chardev *chr);