]> git.sesse.net Git - vlc/blobdiff - src/misc/tests.c
* Fixed the BeOS compile typo.
[vlc] / src / misc / tests.c
index 1c2265a88cab95e0363d21499722a57407ada345..4ffb2c4a8ed0dfe52dd89100b5facb3c15decdcb 100644 (file)
@@ -3,7 +3,7 @@
  * Functions are prototyped in tests.h.
  *****************************************************************************
  * Copyright (C) 2000 VideoLAN
- * $Id: tests.c,v 1.5 2001/03/21 13:42:34 sam Exp $
+ * $Id: tests.c,v 1.7 2001/05/30 17:03:12 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@via.ecp.fr>
  *
@@ -27,6 +27,8 @@
  *****************************************************************************/
 #include "defs.h"
 
+#include <string.h>                                    /* memcpy(), memset() */
+
 #include "config.h"
 #include "common.h"
 
 
 #include "main.h"
 
-/*****************************************************************************
- * TestVersion: tests if the given string equals the current version
- *****************************************************************************/
-int TestVersion( char * psz_version )
-{
-    return( !strcmp( psz_version, VERSION ) );
-}
-
 /*****************************************************************************
  * TestProgram: tests if the given string equals the program name
  *****************************************************************************/