summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/string/strcspn/gstrcspna.c
diff options
context:
space:
mode:
authorAnkitr192017-07-04 15:26:35 +0530
committerAnkitr192017-07-04 15:26:35 +0530
commit5cfbe7196dd381f1e3f49f5673ce5c9291748364 (patch)
tree47fba72e042c8218e42d0a638a663b6897487163 /2.3-1/src/c/string/strcspn/gstrcspna.c
parent6e4535ef3a2c3ec3a4c857673a43938fd04cba80 (diff)
downloadScilab2C-5cfbe7196dd381f1e3f49f5673ce5c9291748364.tar.gz
Scilab2C-5cfbe7196dd381f1e3f49f5673ce5c9291748364.tar.bz2
Scilab2C-5cfbe7196dd381f1e3f49f5673ce5c9291748364.zip
New function and rpi issues resolved
Diffstat (limited to '2.3-1/src/c/string/strcspn/gstrcspna.c')
-rw-r--r--2.3-1/src/c/string/strcspn/gstrcspna.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/2.3-1/src/c/string/strcspn/gstrcspna.c b/2.3-1/src/c/string/strcspn/gstrcspna.c
index 0d8de11b..5617e17e 100644
--- a/2.3-1/src/c/string/strcspn/gstrcspna.c
+++ b/2.3-1/src/c/string/strcspn/gstrcspna.c
@@ -14,10 +14,10 @@
#include "strcspn.h"
uint8 gstrcspna(char *str1,int size1,char *str2,int size2)
{
- int ind;
- for(int i=0;i<=size1;i++)
+ int ind,i,j;;
+ for(i=0;i<=size1;i++)
{
- for(int j=0;j<=size2;j++)
+ for(j=0;j<=size2;j++)
{
if(str2[j]==str1[i])
{