Stripped down the library to something approaching the ANSI C minimum and replaced most of the header files, to provide a reasonably consistent base to work up from.

This commit is contained in:
dtrg
2007-04-24 19:42:24 +00:00
parent 740940c9fc
commit bfeb736c35
32 changed files with 590 additions and 792 deletions

View File

@@ -6,10 +6,10 @@
*/
/* $Id$ */
#if !defined(_STDARG_H)
#ifndef _STDARG_H
#define _STDARG_H
typedef char *va_list;
typedef char* va_list;
#define __vasz(x) ((sizeof(x)+sizeof(int)-1) & ~(sizeof(int) -1))
@@ -17,4 +17,4 @@ typedef char *va_list;
#define va_arg(ap, type) (*((type *)(void *)((ap += __vasz(type)) - __vasz(type))))
#define va_end(ap)
#endif /* _STDARG_H */
#endif