root/memdump/mystuff.h

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

Run Nindent on memdump/mystuff.h

Automatically reformat memdump/mystuff.h 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#ifndef MYSTUFF_H
2#define MYSTUFF_H
3
4#include <stdlib.h>
5
6typedef signed char int8_t;
7typedef unsigned char uint8_t;
8typedef signed short int16_t;
9typedef unsigned short uint16_t;
10typedef signed int int32_t;
11typedef unsigned int uint32_t;
12typedef signed long long int64_t;
13typedef unsigned long long uint64_t;
14
15unsigned int skip_atou(const char **s);
16unsigned long strtoul(const char *, char **, int);
17
18static inline int isdigit(int ch)
19{
20    return (ch >= '0') && (ch <= '9');
21}
22
23#endif /* MYSTUFF_H */
Note: See TracBrowser for help on using the browser.