Automatically reformat sample/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>
-static inline int
-isdigit(int ch)
+static inline int isdigit(int ch)
{
- return (ch >= '0') && (ch <= '9');
+ return (ch >= '0') && (ch <= '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;
}