1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

src: Rename buffer_init to ssh_buffer_init().

This commit is contained in:
Andreas Schneider
2014-01-19 20:43:29 +01:00
parent e745236ae5
commit 9c4144689d
17 changed files with 53 additions and 48 deletions

View File

@@ -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;