From 523d193b089111849873d9de0ec1bf29f4176fbc Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 16 Jun 2010 10:24:09 +0200 Subject: Correct mtdev API names The mtdev queue api functions had wrong names. This patch changes them to the familiar put and get. Signed-off-by: Henrik Rydberg --- include/mtdev.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/mtdev.h') diff --git a/include/mtdev.h b/include/mtdev.h index ab2d044..936d597 100644 --- a/include/mtdev.h +++ b/include/mtdev.h @@ -44,12 +44,12 @@ static inline int mtdev_empty(struct MTDev *mtdev) return evbuf_empty(&mtdev->outbuf); } -void mtdev_push(struct MTDev *dev, const struct Capabilities *caps, - const struct input_event *ev); +void mtdev_put(struct MTDev *dev, const struct Capabilities *caps, + const struct input_event *ev); -static inline void mtdev_pop(struct MTDev *mtdev, struct input_event* ev) +static inline void mtdev_get(struct MTDev *mtdev, struct input_event* ev) { - evbuf_pop(&mtdev->outbuf, ev); + evbuf_get(&mtdev->outbuf, ev); } void mtdev_destroy(struct MTDev *mtdev); -- cgit v1.2.3