[vte] [ring] More cleanup



commit 20f57866d5b4d47ae1ee66cb9e0156d6d70e321e
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Sep 9 21:56:53 2009 -0400

    [ring] More cleanup

 src/ring.h |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/ring.h b/src/ring.h
index 20f7ce4..66cf838 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -84,15 +84,13 @@ typedef struct _VteCell {
 } VteCell;
 ASSERT_STATIC (sizeof (VteCell) == 8);
 
-typedef union _VteCellInt {
+static const union {
 	VteCell cell;
 	struct {
 		guint32 c;
 		guint32 attr;
 	} i;
-} VteCellInt;
-
-static const VteCellInt basic_cell = {
+} basic_cell = {
 	{
 		0,
 		{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]