1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-12 15:41:16 +03:00

Reformat most of the function headers

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2022-05-24 13:11:52 +02:00
committed by Andreas Schneider
parent daabd78742
commit 2aa137947a
10 changed files with 549 additions and 367 deletions

View File

@@ -44,7 +44,8 @@
*
* @return 1 on success, 0 on error.
*/
static int ssh_gets(const char *prompt, char *buf, size_t len, int verify) {
static int ssh_gets(const char *prompt, char *buf, size_t len, int verify)
{
char *tmp;
char *ptr = NULL;
int ok = 0;
@@ -121,7 +122,8 @@ int ssh_getpass(const char *prompt,
char *buf,
size_t len,
int echo,
int verify) {
int verify)
{
HANDLE h;
DWORD mode = 0;
int ok;
@@ -213,7 +215,8 @@ int ssh_getpass(const char *prompt,
char *buf,
size_t len,
int echo,
int verify) {
int verify)
{
struct termios attr;
struct termios old_attr;
int ok = 0;