summaryrefslogtreecommitdiff
path: root/lib/int_lib.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-09 18:41:02 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-09 18:41:02 +0000
commit8bf1e094893cb24796137b47ee0d46d18d299996 (patch)
tree57669837db32d106ba744be339a354b8055fcfe4 /lib/int_lib.h
parent33c134702e274fdbcb1672771a137efb82b498b2 (diff)
downloadcompiler-rt-8bf1e094893cb24796137b47ee0d46d18d299996.tar.gz
compiler-rt-8bf1e094893cb24796137b47ee0d46d18d299996.tar.bz2
compiler-rt-8bf1e094893cb24796137b47ee0d46d18d299996.tar.xz
Refactor to remove un-named struct gnu extension usage. Now ISO C89 and C99 compliant. Comment trailing endifs
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/int_lib.h')
-rw-r--r--lib/int_lib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/int_lib.h b/lib/int_lib.h
index 8f07ba2c..2df74448 100644
--- a/lib/int_lib.h
+++ b/lib/int_lib.h
@@ -45,7 +45,7 @@ typedef union
si_int high;
su_int low;
#endif /* _YUGA_LITTLE_ENDIAN */
- };
+ }s;
} dwords;
typedef union
@@ -60,7 +60,7 @@ typedef union
su_int high;
su_int low;
#endif /* _YUGA_LITTLE_ENDIAN */
- };
+ }s;
} udwords;
#if __x86_64
@@ -80,7 +80,7 @@ typedef union
di_int high;
du_int low;
#endif /* _YUGA_LITTLE_ENDIAN */
- };
+ }s;
} twords;
typedef union
@@ -95,7 +95,7 @@ typedef union
du_int high;
du_int low;
#endif /* _YUGA_LITTLE_ENDIAN */
- };
+ }s;
} utwords;
#endif /* __x86_64 */