1
0
mirror of https://github.com/sys-fs/tubes synced 2025-02-19 23:13:33 -05:00

Add static to function definitions

This commit is contained in:
Thomas Mannay 2016-11-01 21:42:07 +00:00
parent f504035b3f
commit 25225682be

View File

@ -25,7 +25,7 @@ static FILE *log;
static short use_ssl = 0;
static unsigned int last_response;
FILE *
static FILE *
slog(char *file)
{
const char *home = getenv("HOME");
@ -39,7 +39,7 @@ slog(char *file)
return fp;
}
int
static int
dial(char *server, int port)
{
int sockfd, err;
@ -68,7 +68,7 @@ dial(char *server, int port)
return sockfd;
}
int
static int
sslify(int *sockfd)
{
int r;