From 25225682be30e88dba16c36977d488ce87ea3263 Mon Sep 17 00:00:00 2001 From: Thomas Mannay Date: Tue, 1 Nov 2016 21:42:07 +0000 Subject: [PATCH] Add static to function definitions --- tubes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tubes.c b/tubes.c index 78e7d34..575fefa 100644 --- a/tubes.c +++ b/tubes.c @@ -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;