projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f31c4
)
Run Nindent on com32/lib/strtok.c
author
H. Peter Anvin
<hpa@zytor.com>
Fri, 29 May 2009 22:10:24 +0000
(15:10 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 29 May 2009 22:10:24 +0000
(15:10 -0700)
Automatically reformat com32/lib/strtok.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/strtok.c
patch
|
blob
|
history
diff --git
a/com32/lib/strtok.c
b/com32/lib/strtok.c
index
e89a9c5
..
d2e37bb
100644
(file)
--- a/
com32/lib/strtok.c
+++ b/
com32/lib/strtok.c
@@
-6,10
+6,10
@@
char *strtok(char *s, const char *delim)
{
- static char *holder;
+
static char *holder;
-
if ( s
)
- holder = s;
+
if (s
)
+
holder = s;
- return strsep(&holder, delim);
+
return strsep(&holder, delim);
}