diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-21 20:13:41 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-22 13:27:02 +0200 |
commit | 3cafbf3cfe5c58a6988dbfc4c29148ebb804f5c2 (patch) | |
tree | 881da180b8d801c38ba0fbad2fc9f387a70ec016 /include/ouroboros/shm_flow_set.h | |
parent | d5a52f3951fff7ee272bd0d4cd95cd122d07fa64 (diff) | |
download | ouroboros-3cafbf3cfe5c58a6988dbfc4c29148ebb804f5c2.tar.gz ouroboros-3cafbf3cfe5c58a6988dbfc4c29148ebb804f5c2.zip |
build: Compile with strict conversion
This has the code checked with -Wcast-qual and -Wconversion flags.
These flags were removed because SWIG generated code fails.
Diffstat (limited to 'include/ouroboros/shm_flow_set.h')
-rw-r--r-- | include/ouroboros/shm_flow_set.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/ouroboros/shm_flow_set.h b/include/ouroboros/shm_flow_set.h index 32db5d36..de5a9add 100644 --- a/include/ouroboros/shm_flow_set.h +++ b/include/ouroboros/shm_flow_set.h @@ -29,7 +29,7 @@ struct shm_flow_set; -struct shm_flow_set * shm_flow_set_create(); +struct shm_flow_set * shm_flow_set_create(void); void shm_flow_set_destroy(struct shm_flow_set * set); @@ -38,25 +38,25 @@ struct shm_flow_set * shm_flow_set_open(pid_t api); void shm_flow_set_close(struct shm_flow_set * set); void shm_flow_set_zero(struct shm_flow_set * shm_set, - ssize_t idx); + size_t idx); int shm_flow_set_add(struct shm_flow_set * shm_set, - ssize_t idx, + size_t idx, int port_id); int shm_flow_set_has(struct shm_flow_set * shm_set, - ssize_t idx, + size_t idx, int port_id); void shm_flow_set_del(struct shm_flow_set * shm_set, - ssize_t idx, + size_t idx, int port_id); void shm_flow_set_notify(struct shm_flow_set * set, int port_id); -int shm_flow_set_wait(const struct shm_flow_set * shm_set, - ssize_t idx, +ssize_t shm_flow_set_wait(const struct shm_flow_set * shm_set, + size_t idx, int * fqueue, const struct timespec * timeout); |