diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/libmux | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'src/libmux')
-rw-r--r-- | src/libmux/mux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmux/mux.c b/src/libmux/mux.c index 90c1cfcc..e6438b01 100644 --- a/src/libmux/mux.c +++ b/src/libmux/mux.c @@ -44,7 +44,7 @@ muxrpc(Mux *mux, void *tx) /* assign the tag, add selves to response queue */ qlock(&mux->lk); tag = gettag(mux, r); -//print("gettag %p %d\n", r, tag); +/*print("gettag %p %d\n", r, tag); */ enqueue(mux, r); qunlock(&mux->lk); @@ -77,7 +77,7 @@ muxrpc(Mux *mux, void *tx) tag = mux->gettag(mux, p) - mux->mintag; else tag = ~0; -//print("mux tag %d\n", tag); +/*print("mux tag %d\n", tag); */ qlock(&mux->lk); if(p == nil){ /* eof -- just give up and pass the buck */ dequeue(mux, r); @@ -105,7 +105,7 @@ muxrpc(Mux *mux, void *tx) if(mux->sleep.next != &mux->sleep) rwakeup(&mux->sleep.next->r); } -//print("finished %p\n", r); +/*print("finished %p\n", r); */ p = r->p; puttag(mux, r); qunlock(&mux->lk); |