X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Finigo%2Fio.c;h=77d13b96881508d1d3b8aa079cb523a446eb414b;hb=d5d878221c3123ef1d3a335dbc2b1878b3fdb983;hp=44b46ed82c9219aeab5149b373e4092ab50acfaa;hpb=4ee4b9829c53db721194a1983ab5c5054ba766c9;p=melted diff --git a/src/inigo/io.c b/src/inigo/io.c index 44b46ed..77d13b9 100644 --- a/src/inigo/io.c +++ b/src/inigo/io.c @@ -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 * @@ -29,6 +29,7 @@ #include #include #include +#include /* 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;