Created
February 19, 2012 16:50
-
-
Save alyx/1864603 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 330f22ee350a8dd843f2c7ca80f1b67a928ad446 Mon Sep 17 00:00:00 2001 | |
From: Alyx <[email protected]> | |
Date: Sun, 19 Feb 2012 04:47:50 -0700 | |
Subject: [PATCH] Remove a double-declared typedef, create | |
mowgli_pollevent_dispatch_func_t. Things compile now. | |
--- | |
src/libmowgli/eventloop/eventloop.h | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/src/libmowgli/eventloop/eventloop.h b/src/libmowgli/eventloop/eventloop.h | |
index ec95e4a..c67db74 100644 | |
--- a/src/libmowgli/eventloop/eventloop.h | |
+++ b/src/libmowgli/eventloop/eventloop.h | |
@@ -45,8 +45,6 @@ typedef struct _mowgli_eventloop mowgli_eventloop_t; | |
typedef struct _mowgli_pollable mowgli_eventloop_pollable_t; | |
typedef struct _mowgli_helper mowgli_eventloop_helper_proc_t; | |
-typedef struct _mowgli_linebuf mowgli_linebuf_t; | |
- | |
typedef enum { | |
MOWGLI_EVENTLOOP_IO_READ, | |
MOWGLI_EVENTLOOP_IO_WRITE, | |
@@ -87,6 +85,8 @@ static inline mowgli_eventloop_io_tag_t mowgli_eventloop_io_type(mowgli_eventloo | |
typedef void mowgli_eventloop_io_cb_t(mowgli_eventloop_t *eventloop, mowgli_eventloop_io_t *io, mowgli_eventloop_io_dir_t dir, void *userdata); | |
+typedef mowgli_eventloop_io_cb_t mowgli_pollevent_dispatch_func_t; | |
+ | |
struct _mowgli_pollable { | |
mowgli_eventloop_io_obj_t tag; | |
-- | |
1.7.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment