shithub: mq

Download patch

ref: 3a3c39758e6075573454861be3cf61214d01d4a9
parent: 5d36e30a4110e8c39daec37ddaa1a55e19ab8e02
author: kvik <kvik@a-b.xyz>
date: Mon Aug 31 09:30:50 EDT 2020

cleanup unused stuff

--- a/src/mq.c
+++ b/src/mq.c
@@ -12,7 +12,6 @@
 typedef struct Pipe Pipe;
 typedef struct Write Write;
 typedef struct Read Read;
-typedef struct Order Order;
 
 struct Client {
 	Write *cursor; /* reader position */
@@ -136,8 +135,6 @@
 {
 	Read *r;
 	Write *w;
-
-	print("pipeclose\n");
 
 	listunlink(p);
 	if(p->reads)