root/dos/atou.c

Revision b65b18a241c6e22bbbd53b94939549cd5b0a6c5f, 149 bytes (checked in by H. Peter Anvin <hpa@…>, 3 years ago)

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@…>

  • Property mode set to 100644
Line 
1#include "mystuff.h"
2
3unsigned int atou(const char *s)
4{
5    unsigned int i = 0;
6    while (isdigit(*s))
7        i = i * 10 + (*s++ - '0');
8    return i;
9}
Note: See TracBrowser for help on using the browser.