summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-03-04 10:20:31 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-03-04 10:20:31 +0100
commit07c7fa6716a2f54f9feab3eb56f8677edb1b033d (patch)
tree964ada16de707d78bd14309e864eb1e09d6aed8a /sys/include
parenteaf91d0f8ef43344ea9b8b030ab1a446211b8d10 (diff)
libthread: get rid of chaninit() (thanks qrstuv)
chaninit() does not initialize Chan.qentry and Chan.nentry and there is no way to get rid of such a channel. nobody is using it, so removing the function to avoid confusion.
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/thread.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/include/thread.h b/sys/include/thread.h
index 411a71a7d..5e02dcc3e 100644
--- a/sys/include/thread.h
+++ b/sys/include/thread.h
@@ -63,7 +63,6 @@ int alt(Alt alts[]);
int chanclose(Channel*);
int chanclosing(Channel *c);
Channel*chancreate(int elemsize, int bufsize);
-int chaninit(Channel *c, int elemsize, int elemcnt);
void chanfree(Channel *c);
int chanprint(Channel *, char *, ...);
long decref(Ref *r); /* returns 0 iff value is now zero */