mirror of
http://galexander.org/git/simplesshd.git
synced 2024-12-29 09:28:07 +00:00
prototype cleanup_exit()
This commit is contained in:
parent
103812fae8
commit
dd7e234b7d
@ -227,6 +227,7 @@ flags_from_portable(int pflags)
|
|||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* unused */
|
||||||
static const char *
|
static const char *
|
||||||
string_from_portable(int pflags)
|
string_from_portable(int pflags)
|
||||||
{
|
{
|
||||||
@ -255,6 +256,7 @@ string_from_portable(int pflags)
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
#endif /* 0 */
|
||||||
|
|
||||||
static Attrib *
|
static Attrib *
|
||||||
get_attrib(void)
|
get_attrib(void)
|
||||||
@ -396,6 +398,7 @@ handle_update_write(int handle, ssize_t bytes)
|
|||||||
handles[handle].bytes_write += bytes;
|
handles[handle].bytes_write += bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* unused */
|
||||||
static u_int64_t
|
static u_int64_t
|
||||||
handle_bytes_read(int handle)
|
handle_bytes_read(int handle)
|
||||||
{
|
{
|
||||||
@ -411,6 +414,7 @@ handle_bytes_write(int handle)
|
|||||||
return (handles[handle].bytes_write);
|
return (handles[handle].bytes_write);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif /* 0 */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
handle_close(int handle)
|
handle_close(int handle)
|
||||||
|
@ -99,3 +99,4 @@ struct passwd;
|
|||||||
|
|
||||||
int sftp_server_main(int, char **);
|
int sftp_server_main(int, char **);
|
||||||
void sftp_server_cleanup_exit(int) __attribute__((noreturn));
|
void sftp_server_cleanup_exit(int) __attribute__((noreturn));
|
||||||
|
void cleanup_exit(int i);
|
||||||
|
Loading…
Reference in New Issue
Block a user