changeset 32009:31db5ee9280d

Make get_udp static, it is not used outside the file.
author reimar
date Wed, 08 Sep 2010 18:45:34 +0000
parents 221819bef85e
children 120953a1fc50
files udp_sync.c udp_sync.h
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/udp_sync.c	Wed Sep 08 18:44:22 2010 +0000
+++ b/udp_sync.c	Wed Sep 08 18:45:34 2010 +0000
@@ -76,7 +76,7 @@
 // master_position if successful.  if the master has exited, returns 1.
 // returns -1 on error.
 // otherwise, returns 0.
-int get_udp(int blocking, float *master_position)
+static int get_udp(int blocking, float *master_position)
 {
     struct sockaddr_in cliaddr;
     char mesg[100];
--- a/udp_sync.h	Wed Sep 08 18:44:22 2010 +0000
+++ b/udp_sync.h	Wed Sep 08 18:45:34 2010 +0000
@@ -31,7 +31,6 @@
 extern float udp_seek_threshold; // how far off before we seek
 
 void send_udp(const char *send_to_ip, int port, char *mesg);
-int get_udp(int blocking, float *master_position);
 int udp_slave_sync(MPContext *mpctx);
 
 #endif /* MPLAYER_UDP_SYNC_H */