--- libaitio/src/aitio.c 2013/03/13 14:54:39 1.14 +++ libaitio/src/aitio.c 2013/05/30 09:10:13 1.15 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.c,v 1.14 2013/03/13 14:54:39 misho Exp $ +* $Id: aitio.c,v 1.15 2013/05/30 09:10:13 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -55,21 +55,21 @@ char io_Error[STRSIZ]; // io_GetErrno() Get error code of last operation -inline int +int io_GetErrno() { return io_Errno; } // io_GetError() Get error text of last operation -inline const char * +const char * io_GetError() { return io_Error; } // io_SetErr() Set error to variables for internal use!!! -inline void +void io_SetErr(int eno, char *estr, ...) { va_list lst; @@ -390,7 +390,7 @@ ioWatchDirLoop(const char *csDir, int (*callback)(cons * @ifExists = !=0 if filename exists return error * return: -1 error or 0 ok */ -inline int +int ioCreatePIDFile(const char *csName, int ifExists) { int fd;