summaryrefslogtreecommitdiff
path: root/dos
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:32 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:32 -0700
commitb65b18a241c6e22bbbd53b94939549cd5b0a6c5f (patch)
tree0a71169e8b9b93d35a95793d7894cead4747540a /dos
parent69a0194c0de3c359904a9ae6c73649aa5ae03e0a (diff)
downloadsyslinux-b65b18a241c6e22bbbd53b94939549cd5b0a6c5f.tar.gz
Run Nindent on dos/atou.c
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>
Diffstat (limited to 'dos')
-rw-r--r--dos/atou.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dos/atou.c b/dos/atou.c
index 27663704..e21736d1 100644
--- 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;
}