Mercurial > mplayer.hg
changeset 24841:44540930bf94
Make functions static if they aren't referenced externally.
author | zuxy |
---|---|
date | Sat, 27 Oct 2007 17:46:09 +0000 |
parents | ccec024aeb92 |
children | d5f716b49cb4 |
files | stream/tcp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/tcp.c Sat Oct 27 13:00:58 2007 +0000 +++ b/stream/tcp.c Sat Oct 27 17:46:09 2007 +0000 @@ -39,7 +39,7 @@ // Converts an address family constant to a string -const char *af2String(int af) { +static const char *af2String(int af) { switch (af) { case AF_INET: return "AF_INET"; @@ -56,7 +56,7 @@ // return -2 for fatal error, like unable to resolve name, connection timeout... // return -1 is unable to connect to a particular port -int +static int connect2Server_with_af(char *host, int port, int af,int verb) { int socket_server_fd; int err;