summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-27 17:46:09 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-27 17:46:09 +0000
commit242c5fc73cb34dc71caf42000f4b03f5fc43044f (patch)
tree252ec3e89acca21d36c12927fba07396f54921bd /stream
parentc6f82fa13f8d0f67564bf83ff9114fc2da02968c (diff)
downloadmpv-242c5fc73cb34dc71caf42000f4b03f5fc43044f.tar.bz2
mpv-242c5fc73cb34dc71caf42000f4b03f5fc43044f.tar.xz
Make functions static if they aren't referenced externally.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24869 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/tcp.c b/stream/tcp.c
index def97a4564..5759108ec7 100644
--- a/stream/tcp.c
+++ b/stream/tcp.c
@@ -39,7 +39,7 @@ int network_prefer_ipv4 = 0;
// 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 @@ const char *af2String(int af) {
// 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;