17 lines
416 B
C
17 lines
416 B
C
#pragma once
|
|
|
|
typedef unsigned char uint8_t;
|
|
typedef unsigned int uint32_t;
|
|
typedef unsigned long size_t;
|
|
|
|
#define NULL ((void*)0)
|
|
|
|
/* Use compiler builtins instead of libc stdarg */
|
|
#define va_list __builtin_va_list
|
|
#define va_start __builtin_va_start
|
|
#define va_end __builtin_va_end
|
|
#define va_arg __builtin_va_arg
|
|
|
|
void *memset(void *buf, int c, size_t n);
|
|
void printf(const char *fmt, ...);
|