]> git.sesse.net Git - vlc/commitdiff
* Added mstrtime() to module_symbols_t so we can compile the mpeg_vdec
authorGildas Bazin <gbazin@videolan.org>
Tue, 29 Jan 2002 20:11:18 +0000 (20:11 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 29 Jan 2002 20:11:18 +0000 (20:11 +0000)
    plugin with TRACE mode enabled.

include/common.h
include/mtime.h
plugins/dummy/intf_dummy.c
src/misc/modules_plugin.h

index db025e7ddc8c4aff3fd1a120ff84982db0dbd670..d3f55a77ed235f528a9f8be82a90af6065362cc0 100644 (file)
@@ -3,7 +3,7 @@
  * Collection of useful common types and macros definitions
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: common.h,v 1.70 2002/01/21 23:57:46 massiot Exp $
+ * $Id: common.h,v 1.71 2002/01/29 20:11:18 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@via.ecp.fr>
  *          Vincent Seguin <seguin@via.ecp.fr>
@@ -471,6 +471,7 @@ typedef struct module_symbols_s
 
     void    ( * msleep )         ( mtime_t );
     mtime_t ( * mdate )          ( void );
+    char  * ( * mstrtime )        ( char *, mtime_t );
 
     int  ( * network_ChannelCreate )( void );
     int  ( * network_ChannelJoin )  ( int );
index e6fb445613bdbdbb9e3027be3d88fb6fe9858423..0fa3c4c8120e18e6bd1bdaadc5cf824f0fa972bd 100644 (file)
@@ -9,7 +9,7 @@
  * Functions prototyped are implemented in interface/mtime.c.
  *****************************************************************************
  * Copyright (C) 1996, 1997, 1998, 1999, 2000 VideoLAN
- * $Id: mtime.h,v 1.9 2001/12/30 07:09:54 sam Exp $
+ * $Id: mtime.h,v 1.10 2002/01/29 20:11:18 gbazin Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *
@@ -56,7 +56,8 @@ mtime_t mdate    ( void );
 void    mwait    ( mtime_t date );
 void    msleep   ( mtime_t delay );
 #else
-#   define msleep p_symbols->msleep
-#   define mdate  p_symbols->mdate
+#   define msleep    p_symbols->msleep
+#   define mdate     p_symbols->mdate
+#   define mstrtime  p_symbols->mstrtime
 #endif
 
index d0bfabf7d037d61430ee9831c40ae27fbfd6fad8..21bd9622a435bb76438d3ecb5c0b6c3cbb0d6498 100644 (file)
@@ -2,7 +2,7 @@
  * intf_dummy.c: dummy interface plugin
  *****************************************************************************
  * Copyright (C) 2000, 2001 VideoLAN
- * $Id: intf_dummy.c,v 1.13 2001/12/30 07:09:55 sam Exp $
+ * $Id: intf_dummy.c,v 1.14 2002/01/29 20:11:18 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -29,7 +29,6 @@
 
 #include <videolan/vlc.h>
 
-#include "intf_msg.h"
 #include "interface.h"
 
 /*****************************************************************************
index f31dcaa333386e06c02ebb637f20421a0d083c38..97b3bd08c388c480c257929dbcca9eab9460e007 100644 (file)
@@ -2,7 +2,7 @@
  * modules_plugin.h : Plugin management functions used by the core application.
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: modules_plugin.h,v 1.7 2002/01/24 13:32:53 sam Exp $
+ * $Id: modules_plugin.h,v 1.8 2002/01/29 20:11:18 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -177,6 +177,7 @@ module_error( void )
     (p_symbols)->intf_Eject = intf_Eject; \
     (p_symbols)->msleep = msleep; \
     (p_symbols)->mdate = mdate; \
+    (p_symbols)->mstrtime = mstrtime; \
     (p_symbols)->network_ChannelCreate = network_ChannelCreate; \
     (p_symbols)->network_ChannelJoin = network_ChannelJoin; \
     (p_symbols)->input_SetProgram = input_SetProgram; \