--- libaitio/inc/aitio.h 2013/12/05 23:08:59 1.38.10.7 +++ libaitio/inc/aitio.h 2013/12/06 01:03:03 1.38.10.8 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.38.10.7 2013/12/05 23:08:59 misho Exp $ +* $Id: aitio.h,v 1.38.10.8 2013/12/06 01:03:03 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -197,7 +197,11 @@ int io_progCheck(prog_t * __restrict prg); * @prg = program pool * return: NULL error or !=NULL attached program handle */ +#ifdef POPEN_STREAM FILE *io_progAttach(prog_t * __restrict prg); +#else +int io_progAttach(prog_t * __restrict prg); +#endif /* * io_progDetach() - Detch from open program * @@ -205,7 +209,11 @@ FILE *io_progAttach(prog_t * __restrict prg); * @pfd = attached program handle * return: none */ +#ifdef POPEN_STREAM void io_progDetach(prog_t * __restrict prg, FILE *pfd); +#else +void io_progDetach(prog_t * __restrict prg, int pfd); +#endif /*