Browse Source

Add static to function definitions

master
Thomas Mannay 7 years ago
parent
commit
25225682be
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      tubes.c

+ 3
- 3
tubes.c View File

@@ -25,7 +25,7 @@ static FILE *log;
static short use_ssl = 0; static short use_ssl = 0;
static unsigned int last_response; static unsigned int last_response;


FILE *
static FILE *
slog(char *file) slog(char *file)
{ {
const char *home = getenv("HOME"); const char *home = getenv("HOME");
@@ -39,7 +39,7 @@ slog(char *file)
return fp; return fp;
} }


int
static int
dial(char *server, int port) dial(char *server, int port)
{ {
int sockfd, err; int sockfd, err;
@@ -68,7 +68,7 @@ dial(char *server, int port)
return sockfd; return sockfd;
} }


int
static int
sslify(int *sockfd) sslify(int *sockfd)
{ {
int r; int r;


Loading…
Cancel
Save