|
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 | |
|---|
| 6 | typedef signed char int8_t; |
|---|
| 7 | typedef unsigned char uint8_t; |
|---|
| 8 | typedef signed short int16_t; |
|---|
| 9 | typedef unsigned short uint16_t; |
|---|
| 10 | typedef signed int int32_t; |
|---|
| 11 | typedef unsigned int uint32_t; |
|---|
| 12 | typedef signed long long int64_t; |
|---|
| 13 | typedef unsigned long long uint64_t; |
|---|
| 14 | |
|---|
| 15 | unsigned int skip_atou(const char **s); |
|---|
| 16 | unsigned long strtoul(const char *, char **, int); |
|---|
| 17 | |
|---|
| 18 | static inline int isdigit(int ch) |
|---|
| 19 | { |
|---|
| 20 | return (ch >= '0') && (ch <= '9'); |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | #endif /* MYSTUFF_H */ |
|---|