projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e92216f
)
Run Nindent on memdump/skipatou.c
author
H. Peter Anvin
<hpa@zytor.com>
Fri, 29 May 2009 22:10:36 +0000
(15:10 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 29 May 2009 22:10:36 +0000
(15:10 -0700)
Automatically reformat memdump/skipatou.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>
memdump/skipatou.c
patch
|
blob
|
history
diff --git
a/memdump/skipatou.c
b/memdump/skipatou.c
index
f71c534
..
655ab56
100644
(file)
--- a/
memdump/skipatou.c
+++ b/
memdump/skipatou.c
@@
-2,9
+2,9
@@
unsigned int skip_atou(const char **s)
{
-
int i=
0;
+
int i =
0;
- while (isdigit(**s))
-
i = i*
10 + *((*s)++) - '0';
- return i;
+
while (isdigit(**s))
+
i = i *
10 + *((*s)++) - '0';
+
return i;
}