aboutsummaryrefslogtreecommitdiffstats
path: root/lcc/include/alpha/osf/stdarg.h
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-26 17:39:27 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-26 17:39:27 +0000
commit6bf20c78f5b69d40bcc4931df93d29198435ab67 (patch)
treee3eda937a05d7db42de725b7013bd0344b987f34 /lcc/include/alpha/osf/stdarg.h
parent872d4d7f55af706737ffb361bb76ad13e7496770 (diff)
downloadioquake3-aero-6bf20c78f5b69d40bcc4931df93d29198435ab67.tar.gz
ioquake3-aero-6bf20c78f5b69d40bcc4931df93d29198435ab67.zip
newlines fixed
git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'lcc/include/alpha/osf/stdarg.h')
-rwxr-xr-xlcc/include/alpha/osf/stdarg.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/lcc/include/alpha/osf/stdarg.h b/lcc/include/alpha/osf/stdarg.h
index 1b4947e..a05c92b 100755
--- a/lcc/include/alpha/osf/stdarg.h
+++ b/lcc/include/alpha/osf/stdarg.h
@@ -1,28 +1,28 @@
-#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
+#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