Merge branch 'review-1' of git://github.com/rayl/mlt
[melted] / src / inigo / io.c
index 44b46ed..77d13b9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * io.c -- dv1394d client demo input/output
+ * io.c -- inigo input/output
  * Copyright (C) 2002-2003 Ushodaya Enterprises Limited
  * Author: Charles Yates <charles.yates@pandora.be>
  *
@@ -29,6 +29,7 @@
 #include <ctype.h>
 #include <termios.h>
 #include <unistd.h>
+#include <sys/time.h>
 
 /* Application header files */
 #include "io.h"
@@ -75,19 +76,6 @@ char *strip_quotes( char *input )
        return input;
 }
 
-char *get_string( char *output, int maxlength, char *use )
-{
-       char *value = NULL;
-       strcpy( output, use );
-       if ( trim( chomp( fgets( output, maxlength, stdin ) ) ) != NULL )
-       {
-               if ( !strcmp( output, "" ) )
-                       strcpy( output, use );
-               value = output;
-       }
-       return value;
-}
-
 int *get_int( int *output, int use )
 {
        int *value = NULL;