|
Revision 6dc5c514c344f88b538de28a501945f3cee541ca, 151 bytes
(checked in by H. Peter Anvin <hpa@…>, 3 years ago)
|
|
Run Nindent on dos/skipatou.c
Automatically reformat dos/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@…>
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | #include "mystuff.h" |
|---|
| 2 | |
|---|
| 3 | unsigned int skip_atou(const char **s) |
|---|
| 4 | { |
|---|
| 5 | int i = 0; |
|---|
| 6 | |
|---|
| 7 | while (isdigit(**s)) |
|---|
| 8 | i = i * 10 + *((*s)++) - '0'; |
|---|
| 9 | return i; |
|---|
| 10 | } |
|---|