--- libaitio/src/Attic/tools.c 2010/04/16 13:25:27 1.2 +++ libaitio/src/Attic/tools.c 2010/04/16 13:37:25 1.2.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: tools.c,v 1.2 2010/04/16 13:25:27 misho Exp $ +* $Id: tools.c,v 1.2.2.1 2010/04/16 13:37:25 misho Exp $ * *************************************************************************/ #include "global.h" @@ -15,7 +15,7 @@ * @psLine = Text string * return: 0 nothing to do; !=0 Removed bytes */ -inline int io_LTrimStr(u_char *psLine) +inline int io_LTrimStr(u_char * __restrict psLine) { int pos = 0; u_char *s; @@ -35,7 +35,7 @@ inline int io_LTrimStr(u_char *psLine) * @psLine = Text string * return: 0 nothing to do; !=0 Removed bytes */ -inline int io_RTrimStr(u_char *psLine) +inline int io_RTrimStr(u_char * __restrict psLine) { u_char *t, *pos; @@ -54,7 +54,7 @@ inline int io_RTrimStr(u_char *psLine) * @psLine = Text string * return: 0 nothing to do; !=0 Removed bytes */ -inline int io_TrimStr(u_char *psLine) +inline int io_TrimStr(u_char * __restrict psLine) { int ret = 0; @@ -69,7 +69,7 @@ inline int io_TrimStr(u_char *psLine) * @psLine = Text string * return: 0 nothing to do; 1 successful unquoted string */ -inline int io_UnquotStr(u_char *psLine) +inline int io_UnquotStr(u_char * __restrict psLine) { char *pos, *str = NULL; int flg;