Move files out of root into core, dos, and utils
[profile/ivi/syslinux.git] / memdump / mystuff.h
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
19 isdigit(int ch)
20 {
21   return (ch >= '0') && (ch <= '9');
22 }
23
24 #endif /* MYSTUFF_H */