X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/94d78d15691f3e6ac4c4797bb21ffcf8f9cc4a39..36ce375d87e8dd0fdee14de4fbc35c1aef56d7e9:/include/minilib.h?ds=inline diff --git a/include/minilib.h b/include/minilib.h index e0fc16b..747b2aa 100644 --- a/include/minilib.h +++ b/include/minilib.h @@ -1,33 +1,9 @@ -#ifndef __MINILIB_H -#define __MINILIB_H +#ifndef MINILIB_H +#define MINILIB_H -#define MINILIB 1 - -#ifndef __int8_t_defined -# define __int8_t_defined -typedef signed char int8_t; -typedef short int int16_t; -typedef int int32_t; -# if __WORDSIZE == 64 -typedef long int int64_t; -# else -__extension__ -typedef long long int int64_t; -# endif -#endif - -/* Unsigned. */ -typedef unsigned char uint8_t; -typedef unsigned short int uint16_t; -#ifndef __uint32_t_defined -typedef unsigned int uint32_t; -# define __uint32_t_defined -#endif -#if __WORDSIZE == 64 -typedef unsigned long int uint64_t; -#else -__extension__ -typedef unsigned long long int uint64_t; -#endif +void memmove(void *dest, void *src, int bytes); +int strcmp(const char *a2, const char *a1); +void strcpy(char *a2, const char *a1); +void tohex(char *s, unsigned long l); #endif