diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2014-01-19 20:43:29 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-01-19 20:43:29 +0100 |
| commit | 9c4144689d7d062aa636a019b416d172a9e12c29 (patch) | |
| tree | 6936e822e25fa69483cf8f5edb6abe267a418c9b /src/buffer.c | |
| parent | e745236ae5b06c897f2a576a9d2bbd8ada121c1c (diff) | |
| download | libssh-9c4144689d7d062aa636a019b416d172a9e12c29.tar.gz libssh-9c4144689d7d062aa636a019b416d172a9e12c29.tar.xz libssh-9c4144689d7d062aa636a019b416d172a9e12c29.zip | |
src: Rename buffer_init to ssh_buffer_init().
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index ca120868..76507596 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -158,7 +158,8 @@ static void buffer_shift(ssh_buffer buffer){ * * @return 0 on success, < 0 on error. */ -int buffer_reinit(struct ssh_buffer_struct *buffer) { +int ssh_buffer_reinit(struct ssh_buffer_struct *buffer) +{ buffer_verify(buffer); memset(buffer->data, 0, buffer->used); buffer->used = 0; |
