biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0c57de
)
Made str argument to function split to be of type const char *.
author
David van der Spoel
<spoel@xray.bmc.uu.se>
Wed, 11 Aug 2010 08:05:55 +0000
(10:05 +0200)
committer
David van der Spoel
<spoel@xray.bmc.uu.se>
Wed, 11 Aug 2010 08:05:55 +0000
(10:05 +0200)
src/gmxlib/string2.c
patch
|
blob
|
history
diff --git
a/src/gmxlib/string2.c
b/src/gmxlib/string2.c
index 4e30a59d051979152e35171300ac616304ded263..6b432577025ae06030706839acc61e5c31026e22 100644
(file)
--- a/
src/gmxlib/string2.c
+++ b/
src/gmxlib/string2.c
@@
-472,7
+472,7
@@
char *wrap_lines(const char *buf,int line_width, int indent,bool bIndentFirst)
return b2;
}
-char **split(char sep,char *str)
+char **split(char sep,c
onst c
har *str)
{
char **ptr = NULL;
int n,nn,nptr = 0;