blob: dce0cb5fe88c6b7683409d4c1e000ea80f7bb5c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef MYSTUFF_H
#define MYSTUFF_H
#include <stdlib.h>
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
unsigned int skip_atou(const char **s);
unsigned long strtoul(const char *, char **, int);
static inline int isdigit(int ch)
{
return (ch >= '0') && (ch <= '9');
}
#endif /* MYSTUFF_H */
|