diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-03 10:24:59 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-03 10:24:59 -0700 |
| commit | 14c9712edef594e3701c8851d7c51b109a6da97d (patch) | |
| tree | f046986af1d757b0cb8ec07536e71a76744548b0 /src/core/msgqueue.c | |
| parent | 69ebcc4de91f235fc1f4adfa7cc69b42d7e5b541 (diff) | |
| download | nng-14c9712edef594e3701c8851d7c51b109a6da97d.tar.gz nng-14c9712edef594e3701c8851d7c51b109a6da97d.tar.bz2 nng-14c9712edef594e3701c8851d7c51b109a6da97d.zip | |
Remove the unused infinite timeout versions of msgq.
Diffstat (limited to 'src/core/msgqueue.c')
| -rw-r--r-- | src/core/msgqueue.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/core/msgqueue.c b/src/core/msgqueue.c index 19ca116e..93a487ad 100644 --- a/src/core/msgqueue.c +++ b/src/core/msgqueue.c @@ -591,13 +591,6 @@ nni_msgq_get_until(nni_msgq *mq, nni_msg **msgp, nni_time expire) int -nni_msgq_get(nni_msgq *mq, nni_msg **msgp) -{ - return (nni_msgq_get_until(mq, msgp, NNI_TIME_NEVER)); -} - - -int nni_msgq_put_until(nni_msgq *mq, nni_msg *msg, nni_time expire) { nni_aio aio; @@ -616,13 +609,6 @@ nni_msgq_put_until(nni_msgq *mq, nni_msg *msg, nni_time expire) } -int -nni_msgq_put(nni_msgq *mq, nni_msg *msg) -{ - return (nni_msgq_put_until(mq, msg, NNI_TIME_NEVER)); -} - - void nni_msgq_drain(nni_msgq *mq, nni_time expire) { |
