[MPlayer-cvslog] r32093 - in trunk: udp_sync.c udp_sync.h

reimar subversion at mplayerhq.hu
Wed Sep 8 20:45:34 CEST 2010


Author: reimar
Date: Wed Sep  8 20:45:34 2010
New Revision: 32093

Log:
Make get_udp static, it is not used outside the file.

Modified:
   trunk/udp_sync.c
   trunk/udp_sync.h

Modified: trunk/udp_sync.c
==============================================================================
--- trunk/udp_sync.c	Wed Sep  8 20:44:22 2010	(r32092)
+++ trunk/udp_sync.c	Wed Sep  8 20:45:34 2010	(r32093)
@@ -76,7 +76,7 @@ static void set_blocking(int fd, int blo
 // 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];

Modified: trunk/udp_sync.h
==============================================================================
--- trunk/udp_sync.h	Wed Sep  8 20:44:22 2010	(r32092)
+++ trunk/udp_sync.h	Wed Sep  8 20:45:34 2010	(r32093)
@@ -31,7 +31,6 @@ extern const char *udp_ip; // where the 
 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 */


More information about the MPlayer-cvslog mailing list