changeset 30532:18b9a39a5bac

Add xscreensaver_heartbeat() declaration to x11_common.h. This avoids a forward declaration in mplayer.c.
author diego
date Sun, 14 Feb 2010 12:57:18 +0000
parents 704903d34069
children e3e329bc727a
files libvo/x11_common.h mplayer.c
diffstat 2 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.h	Sun Feb 14 12:55:02 2010 +0000
+++ b/libvo/x11_common.h	Sun Feb 14 12:57:18 2010 +0000
@@ -137,6 +137,7 @@
 void vo_setwindow( Window w,GC g );
 void vo_x11_putkey(int key);
 
+void xscreensaver_heartbeat(void);
 void saver_off( Display * );
 void saver_on( Display * );
 
--- a/mplayer.c	Sun Feb 14 12:55:02 2010 +0000
+++ b/mplayer.c	Sun Feb 14 12:57:18 2010 +0000
@@ -153,12 +153,6 @@
 #include "get_path.h"
 
 //**************************************************************************//
-//             XScreensaver
-//**************************************************************************//
-
-void xscreensaver_heartbeat(void);
-
-//**************************************************************************//
 //**************************************************************************//
 //             Input media streaming & demultiplexer:
 //**************************************************************************//