diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-02-03 06:55:53 +0100 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-02-03 06:55:53 +0100 |
commit | 4b993794257ef608ebb6a5826be6eed18a4acbad (patch) | |
tree | de46827246d45563ace7866ca018776c77d8ec87 /include/rb.h | |
parent | 46727bea4d5c5196e132f21b17e3d80530a32ec8 (diff) | |
download | librb-4b993794257ef608ebb6a5826be6eed18a4acbad.tar.gz librb-4b993794257ef608ebb6a5826be6eed18a4acbad.tar.bz2 librb-4b993794257ef608ebb6a5826be6eed18a4acbad.zip |
add: mutexes and validators for rb_count and rb_space
Diffstat (limited to 'include/rb.h')
-rw-r--r-- | include/rb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rb.h b/include/rb.h index aa17de8..99816b8 100644 --- a/include/rb.h +++ b/include/rb.h @@ -38,7 +38,7 @@ int rb_destroy(struct rb *); int rb_stop(struct rb *); size_t rb_discard(struct rb *, size_t); const char *rb_version(char *, char *, char *); -size_t rb_count(const struct rb *); -size_t rb_space(const struct rb *); +long rb_count(struct rb *); +long rb_space(struct rb *); #endif |