Fix up a few ignored return values
[melted] / src / albino / albino.c
index 60667f3..3979a51 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * albino.c -- Local dv1394d Test Util
+ * albino.c -- Local Valerie/Miracle Test Utility
  * Copyright (C) 2002-2003 Ushodaya Enterprises Limited
  * Author: Charles Yates <charles.yates@pandora.be>
  *
 #include <string.h>
 #include <sched.h>
 
+#ifdef __DARWIN__
+#include <SDL.h>
+#endif
+
 /* Application header files */
 #include <miracle/miracle_local.h>
 #include <valerie/valerie_remote.h>
@@ -59,15 +63,6 @@ int main( int argc, char **argv  )
        }
        else
        {
-               struct sched_param scp;
-       
-               // Use realtime scheduling if possible
-               memset( &scp, '\0', sizeof( scp ) );
-               scp.sched_priority = sched_get_priority_max( SCHED_FIFO ) - 1;
-#ifndef DARWIN
-               sched_setscheduler( 0, SCHED_FIFO, &scp );
-#endif
-
                printf( "Miracle Standalone Instance\n" );
                parser = miracle_parser_init_local( );
                response = valerie_parser_connect( parser );