summaryrefslogtreecommitdiff
path: root/xts5/Xlib3
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2010-04-18 16:49:28 -0700
committerAaron Plattner <aplattner@nvidia.com>2010-04-20 09:55:55 -0700
commitc4049fde7c2074085a6079b780cb48bdc3a58bc4 (patch)
tree8ef1a1a72ae63c4a6e0f34477799c24a5643b675 /xts5/Xlib3
parent4d95ca878726433febebb741de1fa2b69e9363f0 (diff)
xts5: Fix "missing braces around initializer" warnings.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xts5/Xlib3')
-rw-r--r--xts5/Xlib3/XDisplayString/Test1.c2
-rw-r--r--xts5/Xlib3/XOpenDisplay/Test1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xts5/Xlib3/XDisplayString/Test1.c b/xts5/Xlib3/XDisplayString/Test1.c
index 2d6d5568..7ecc6cba 100644
--- a/xts5/Xlib3/XDisplayString/Test1.c
+++ b/xts5/Xlib3/XDisplayString/Test1.c
@@ -128,7 +128,7 @@ extern Display *Dsp;
char *TestName = "XDisplayString";
int tet_thistest;
struct tet_testlist tet_testlist[] = {
- NULL, 0
+ { NULL, 0 }
};
int ntests = sizeof(tet_testlist)/sizeof(struct tet_testlist)-1;
diff --git a/xts5/Xlib3/XOpenDisplay/Test1.c b/xts5/Xlib3/XOpenDisplay/Test1.c
index 0ea71892..34fc4e07 100644
--- a/xts5/Xlib3/XOpenDisplay/Test1.c
+++ b/xts5/Xlib3/XOpenDisplay/Test1.c
@@ -129,7 +129,7 @@ extern Display *Dsp;
char *TestName = "XDisplayString";
int tet_thistest;
struct tet_testlist tet_testlist[] = {
- NULL, 0
+ { NULL, 0 }
};
int ntests = sizeof(tet_testlist)/sizeof(struct tet_testlist)-1;