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
diff --git a/lib/int_lib.h b/lib/int_lib.h
index 8f07ba2..2df7444 100644
--- a/lib/int_lib.h
+++ b/lib/int_lib.h
@@ -45,7 +45,7 @@
si_int high;
su_int low;
#endif /* _YUGA_LITTLE_ENDIAN */
- };
+ }s;
} dwords;
typedef union
@@ -60,7 +60,7 @@
su_int high;
su_int low;
#endif /* _YUGA_LITTLE_ENDIAN */
- };
+ }s;
} udwords;
#if __x86_64
@@ -80,7 +80,7 @@
di_int high;
du_int low;
#endif /* _YUGA_LITTLE_ENDIAN */
- };
+ }s;
} twords;
typedef union
@@ -95,7 +95,7 @@
du_int high;
du_int low;
#endif /* _YUGA_LITTLE_ENDIAN */
- };
+ }s;
} utwords;
#endif /* __x86_64 */