Module Name:    src
Committed By:   joerg
Date:           Mon May 23 14:52:32 UTC 2011

Modified Files:
        src/lib/libc/citrus: citrus_prop.h

Log Message:
Use C99-style init in _CITRUS_PROP_HINT_END to avoid warnings for
uninitialised type field.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/citrus/citrus_prop.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/citrus/citrus_prop.h
diff -u src/lib/libc/citrus/citrus_prop.h:1.4 src/lib/libc/citrus/citrus_prop.h:1.5
--- src/lib/libc/citrus/citrus_prop.h:1.4	Wed Mar 30 08:22:01 2011
+++ src/lib/libc/citrus/citrus_prop.h	Mon May 23 14:52:32 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_prop.h,v 1.4 2011/03/30 08:22:01 jruoho Exp $ */
+/* $NetBSD: citrus_prop.h,v 1.5 2011/05/23 14:52:32 joerg Exp $ */
 
 /*-
  * Copyright (c)2006 Citrus Project,
@@ -81,7 +81,7 @@
 #define _CITRUS_PROP_HINT_NUM(name, cb) \
 	{ name, _CITRUS_PROP_NUM, { .num = { cb } } }
 #define _CITRUS_PROP_HINT_END \
-	{ NULL }
+	{ .name = NULL }
 
 __BEGIN_DECLS
 int _citrus_prop_parse_variable(const _citrus_prop_hint_t * __restrict,

Reply via email to