From 06337f0dc8114c70fd0c7767083971a0d091750a Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Wed, 5 Jul 2017 12:41:25 +0530 Subject: LinearAlgebra and MatrixOperation Update --- src/c/string/strspn/gstrspna.c | 44 ------------------------------------------ 1 file changed, 44 deletions(-) delete mode 100644 src/c/string/strspn/gstrspna.c (limited to 'src/c/string/strspn/gstrspna.c') diff --git a/src/c/string/strspn/gstrspna.c b/src/c/string/strspn/gstrspna.c deleted file mode 100644 index af1acbb..0000000 --- a/src/c/string/strspn/gstrspna.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright (C) 2017 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Organization: FOSSEE, IIT Bombay - Author: Ankit Raj - Email: toolbox@scilab.in -*/ -#include -#include "strspn.h" - -int maxg(int a,int b){ - if(a>b) return a; - return b; -} -uint8 gstrspna(char *str1,int size1,char *str2,int size2) -{ - int i,j,ct=0,k=0,m=0; - for(i=0;i= size1) break; - } - if(j==size1) - { - ct=ct-1; - } - m = maxg(m,ct); - } - } -return m; -} -- cgit