diff options
Diffstat (limited to '2.3-1/src/c/string')
-rw-r--r-- | 2.3-1/src/c/string/convstr/gconvstrs.c | 12 | ||||
-rw-r--r-- | 2.3-1/src/c/string/interfaces/int_convstr.h | 4 | ||||
-rw-r--r-- | 2.3-1/src/c/string/strrchr/gstrrchra.c | 11 | ||||
-rw-r--r-- | 2.3-1/src/c/string/strrev/gstrreva.c | 13 | ||||
-rw-r--r-- | 2.3-1/src/c/string/strsubst/gstrsubsta.c | 12 |
5 files changed, 49 insertions, 3 deletions
diff --git a/2.3-1/src/c/string/convstr/gconvstrs.c b/2.3-1/src/c/string/convstr/gconvstrs.c index 3db7663e..d3374ff4 100644 --- a/2.3-1/src/c/string/convstr/gconvstrs.c +++ b/2.3-1/src/c/string/convstr/gconvstrs.c @@ -1,3 +1,15 @@ +/* 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: Shamik Guha + Email: toolbox@scilab.in +*/ + #include <string.h> #include "convstr.h" diff --git a/2.3-1/src/c/string/interfaces/int_convstr.h b/2.3-1/src/c/string/interfaces/int_convstr.h index fee3d373..2eade501 100644 --- a/2.3-1/src/c/string/interfaces/int_convstr.h +++ b/2.3-1/src/c/string/interfaces/int_convstr.h @@ -17,9 +17,9 @@ #endif #define g2g2convstrg2(in,size,flag,size2,out) gconvstrs(in,size[0]*size[1],flag,size2[1],out) -//#define g2g2convstrg0(in,size,type,typesize,out) (type=='u': \ +/*#define g2g2convstrg0(in,size,type,typesize,out) (type=='u': \ gconvstrs(in,size[0]*size[1],0,out)?gconvstrs(in,size[0]*size[1],1,out)) - +*/ #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/2.3-1/src/c/string/strrchr/gstrrchra.c b/2.3-1/src/c/string/strrchr/gstrrchra.c index 460c1f2f..6a55fbd3 100644 --- a/2.3-1/src/c/string/strrchr/gstrrchra.c +++ b/2.3-1/src/c/string/strrchr/gstrrchra.c @@ -1,3 +1,14 @@ +/* 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: Shamik Guha + Email: toolbox@scilab.in +*/ #include <stdio.h> #include <string.h> #include "strrchr.h" diff --git a/2.3-1/src/c/string/strrev/gstrreva.c b/2.3-1/src/c/string/strrev/gstrreva.c index 8ceb16ab..71a95725 100644 --- a/2.3-1/src/c/string/strrev/gstrreva.c +++ b/2.3-1/src/c/string/strrev/gstrreva.c @@ -1,4 +1,15 @@ -#include<stdio.h> +/* 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: Shamik Guha + Email: toolbox@scilab.in +*/ +#include <stdio.h> #include "strrev.h" void gstrreva(char* str,int size,char* out) diff --git a/2.3-1/src/c/string/strsubst/gstrsubsta.c b/2.3-1/src/c/string/strsubst/gstrsubsta.c index 69ebf3c5..6aee50ce 100644 --- a/2.3-1/src/c/string/strsubst/gstrsubsta.c +++ b/2.3-1/src/c/string/strsubst/gstrsubsta.c @@ -1,3 +1,15 @@ +/* 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: Shamik Guha + Email: toolbox@scilab.in +*/ + #include <stdio.h> #include <string.h> #include "strsubst.h" |