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:
69a0194
)
Run Nindent on dos/atou.c
author
H. Peter Anvin
<hpa@zytor.com>
Fri, 29 May 2009 22:10:32 +0000
(15:10 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 29 May 2009 22:10:32 +0000
(15:10 -0700)
Automatically reformat dos/atou.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>
dos/atou.c
patch
|
blob
|
history
diff --git
a/dos/atou.c
b/dos/atou.c
index
2766370
..
e21736d
100644
(file)
--- a/
dos/atou.c
+++ b/
dos/atou.c
@@
-2,8
+2,8
@@
unsigned int atou(const char *s)
{
- unsigned int i = 0;
- while (isdigit(*s))
-
i = i*
10 + (*s++ - '0');
- return i;
+
unsigned int i = 0;
+
while (isdigit(*s))
+
i = i *
10 + (*s++ - '0');
+
return i;
}