aboutsummaryrefslogtreecommitdiffstats
path: root/lcc/include/alpha/osf/stdarg.h
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-04 15:18:22 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-04 15:18:22 +0000
commit1c7864f6d4380797b07c7149111066b61f69f689 (patch)
tree59057c26f97fdf846b0193e852eeea7e707a9e20 /lcc/include/alpha/osf/stdarg.h
parent91db83f0cc7c564ff6c853eeb4e790732dae81cd (diff)
downloadioquake3-aero-1c7864f6d4380797b07c7149111066b61f69f689.tar.gz
ioquake3-aero-1c7864f6d4380797b07c7149111066b61f69f689.zip
* Moved lcc and q3asm into code/tools
git-svn-id: svn://svn.icculus.org/quake3/trunk@134 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'lcc/include/alpha/osf/stdarg.h')
-rw-r--r--lcc/include/alpha/osf/stdarg.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/lcc/include/alpha/osf/stdarg.h b/lcc/include/alpha/osf/stdarg.h
deleted file mode 100644
index a05c92b..0000000
--- a/lcc/include/alpha/osf/stdarg.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef __STDARG
-#define __STDARG
-
-#if !defined(_VA_LIST)
-#define _VA_LIST
-typedef struct {
- char *_a0; /* pointer to first homed integer arg */
- int _offset; /* byte offset of next param */
- float _tmp;
-} __va_list;
-#endif
-typedef __va_list va_list;
-
-#define va_start(list, start) ((void)( \
- (list)._a0 = (__typecode(__firstarg)==1 ? \
- (char*)&__firstarg+48 : (char *)&__firstarg), \
- (list)._offset = (__typecode(start)==1 ? \
- (char*)&start+56 : (char *)&start+8)-(list)._a0))
-#define va_arg(list, mode) (*(mode *)( \
- (list)._offset += (int)((sizeof(mode)+7)&~7), \
- (__typecode(mode)==1 && sizeof(mode)==4) ? \
- ((list)._tmp = (float)*(double *)((list)._a0 + (list)._offset - \
- ((list)._offset <= 48 ? 56 : 8))), (char *)&(list)._tmp : \
- (__typecode(mode)==1 && (list)._offset <= 48) ? \
- (list)._a0 + (list)._offset - 56 : \
- (list)._a0 + (list)._offset - (int)((sizeof(mode)+7)&~7)))
-#define va_end(list) ((void)0)
-#endif