Add __MISC_H__

This commit is contained in:
Laurent Vivier 2004-06-22 21:23:03 +00:00
parent 5db219863b
commit cf424a74ea

View File

@ -4,6 +4,9 @@
*
*/
#ifndef __MISC_H__
#define __MISC_H__
typedef unsigned char u_int8_t;
typedef signed char int8_t;
typedef unsigned short u_int16_t;
@ -14,3 +17,5 @@ typedef signed int int32_t;
extern unsigned char *c2pstring(char* s);
extern void memdump(unsigned char* addr, unsigned long size);
extern void error(char *x) __attribute__ ((noreturn));
#endif /* __MISC_H__ */