|
From: <sv...@va...> - 2006-01-22 15:51:55
|
Author: sewardj Date: 2006-01-22 15:51:49 +0000 (Sun, 22 Jan 2006) New Revision: 5584 Log: rm unneeded headers Removed: trunk/perf/stdarg.h trunk/perf/stddef.h Modified: trunk/perf/Makefile.am Modified: trunk/perf/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/perf/Makefile.am 2006-01-22 01:15:36 UTC (rev 5583) +++ trunk/perf/Makefile.am 2006-01-22 15:51:49 UTC (rev 5584) @@ -4,8 +4,6 @@ =20 noinst_SCRIPTS =3D vg_perf =20 -noinst_HEADERS =3D stdarg.h stddef.h - EXTRA_DIST =3D $(noinst_SCRIPTS) \ bigcode1.vgperf \ bigcode2.vgperf \ Deleted: trunk/perf/stdarg.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/perf/stdarg.h 2006-01-22 01:15:36 UTC (rev 5583) +++ trunk/perf/stdarg.h 2006-01-22 15:51:49 UTC (rev 5584) @@ -1,17 +0,0 @@ -// njn: used by tinycc - -#ifndef _STDARG_H -#define _STDARG_H - -typedef char *va_list; - -/* only correct for i386 */ -#define va_start(ap,last) ap =3D ((char *)&(last)) + ((sizeof(last)+3)&~= 3) -#define va_arg(ap,type) (ap +=3D (sizeof(type)+3)&~3, *(type *)(ap - ((s= izeof(type)+3)&~3))) -#define va_end(ap) - -/* fix a buggy dependency on GCC in libio.h */ -typedef va_list __gnuc_va_list; -#define _VA_LIST_DEFINED - -#endif Deleted: trunk/perf/stddef.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/perf/stddef.h 2006-01-22 01:15:36 UTC (rev 5583) +++ trunk/perf/stddef.h 2006-01-22 15:51:49 UTC (rev 5584) @@ -1,23 +0,0 @@ -// njn: used by tinycc - -#ifndef _STDDEF_H -#define _STDDEF_H - -#define NULL ((void *)0) -typedef __SIZE_TYPE__ size_t; -typedef __WCHAR_TYPE__ wchar_t; -typedef __PTRDIFF_TYPE__ ptrdiff_t; -#define offsetof(type, field) ((size_t) &((type *)0)->field) - -/* need to do that because of glibc 2.1 bug (should have a way to test - presence of 'long long' without __GNUC__, or TCC should define - __GNUC__ ? */ -#if !defined(__int8_t_defined) && !defined(__dietlibc__) -#define __int8_t_defined -typedef char int8_t; -typedef short int int16_t; -typedef int int32_t; -typedef long long int int64_t; -#endif - -#endif |