diff options
author | Sander Vrijders <[email protected]> | 2017-02-09 17:44:58 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-02-09 17:44:58 +0000 |
commit | 0557bc02b963bab6f690b410fe937a9f487a84ba (patch) | |
tree | 31828a5eb1a646883c3f582795c8ffc7c990b35b /src/lib/shm_rdrbuff.c | |
parent | 275dc65b22e39654e4dfc9cbd13277e490c8dccd (diff) | |
parent | 6785ca65ab48f1a29914c1784a24009964ec4720 (diff) | |
download | ouroboros-0557bc02b963bab6f690b410fe937a9f487a84ba.tar.gz ouroboros-0557bc02b963bab6f690b410fe937a9f487a84ba.zip |
Merged in dstaesse/ouroboros/be-create_r (pull request #367)
ipcpd, lib: Report IPCP creation failure
Diffstat (limited to 'src/lib/shm_rdrbuff.c')
-rw-r--r-- | src/lib/shm_rdrbuff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/shm_rdrbuff.c b/src/lib/shm_rdrbuff.c index 55047aa5..eb51a278 100644 --- a/src/lib/shm_rdrbuff.c +++ b/src/lib/shm_rdrbuff.c @@ -321,7 +321,7 @@ void shm_rdrbuff_destroy(struct shm_rdrbuff * rdrb) ssize_t shm_rdrbuff_write(struct shm_rdrbuff * rdrb, size_t headspace, size_t tailspace, - uint8_t * data, + const uint8_t * data, size_t len) { struct shm_du_buff * sdb; @@ -400,7 +400,7 @@ ssize_t shm_rdrbuff_write(struct shm_rdrbuff * rdrb, ssize_t shm_rdrbuff_write_b(struct shm_rdrbuff * rdrb, size_t headspace, size_t tailspace, - uint8_t * data, + const uint8_t * data, size_t len) { struct shm_du_buff * sdb; |