--- libaitsched/inc/defs.h 2014/04/27 16:20:37 1.13 +++ libaitsched/inc/defs.h 2014/05/19 23:35:40 1.13.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.13 2014/04/27 16:20:37 misho Exp $ +* $Id: defs.h,v 1.13.2.2 2014/05/19 23:35:40 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -63,6 +63,10 @@ SUCH DAMAGE. #define SIGRTMIN 65 #endif +#ifndef __unused +#define __unused __attribute__((unused)) +#endif + #define MAX_TASK_MISS 12 #define LOGERR { \ @@ -130,6 +134,14 @@ SUCH DAMAGE. (vvp)->tv_usec += 1000000; \ } \ } while (0) + + +#ifndef HAVE_STRLCAT +size_t strlcat(char * __restrict dst, const char * __restrict src, size_t siz); +#endif +#ifndef HAVE_STRLCPY +size_t strlcpy(char * __restrict dst, const char * __restrict src, size_t siz); +#endif extern int sched_Errno;