aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autistdraw.c12
m---------liberty0
m---------termo0
3 files changed, 6 insertions, 6 deletions
diff --git a/autistdraw.c b/autistdraw.c
index 82a3746..ee380e5 100644
--- a/autistdraw.c
+++ b/autistdraw.c
@@ -64,7 +64,7 @@ struct client
ev_io read_watcher; ///< Client readability watcher
ev_io write_watcher; ///< Client writability watcher
struct msg_reader msg_reader; ///< Client message reader
- write_queue_t write_queue; ///< Write queue
+ struct write_queue write_queue; ///< Write queue
};
#define BITMAP_PIXEL(app, x, y) (app)->bitmap[(y) * (app)->bitmap_w + (x)]
@@ -85,7 +85,7 @@ struct app_context
ev_io server_read_watcher; ///< Server readability watcher
ev_io server_write_watcher; ///< Server writability watcher
struct msg_reader msg_reader; ///< Server message reader
- write_queue_t write_queue; ///< Server write queue
+ struct write_queue write_queue; ///< Server write queue
bool no_wait; ///< Don't wait for server confirmations
@@ -168,10 +168,10 @@ read_loop (EV_P_ ev_io *watcher,
}
static bool
-flush_queue (write_queue_t *queue, ev_io *watcher)
+flush_queue (struct write_queue *queue, ev_io *watcher)
{
struct iovec vec[queue->len], *vec_iter = vec;
- for (write_req_t *iter = queue->head; iter; iter = iter->next)
+ for (struct write_req *iter = queue->head; iter; iter = iter->next)
*vec_iter++ = iter->data;
ssize_t written;
@@ -196,10 +196,10 @@ skip:
return true;
}
-static write_req_t *
+static struct write_req *
flush_writer (struct msg_writer *writer)
{
- write_req_t *req = xcalloc (1, sizeof *req);
+ struct write_req *req = xcalloc (1, sizeof *req);
req->data.iov_base = msg_writer_flush (writer, &req->data.iov_len);
return req;
}
diff --git a/liberty b/liberty
-Subproject 8c6d18757d2d4135963f3dbab6d2d5ec8c8b6af
+Subproject 3cc975bb2a80ebe5b451d268ae0562f1a0cbe12
diff --git a/termo b/termo
-Subproject b5c042e11f24c7791333c308f21beba14714ef4
+Subproject 1f2a32ed97cdfe6a389dda5f386cc501e0cf97a