mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
c89: get rid of designated initializers in common code
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
c67272f9c8
commit
98ba65c422
+8
-6
@@ -85,12 +85,14 @@ static const struct file_operations g_epoll_ops =
|
||||
|
||||
static struct inode g_epoll_inode =
|
||||
{
|
||||
.i_crefs = 1,
|
||||
.i_flags = FSNODEFLAG_TYPE_DRIVER,
|
||||
.u =
|
||||
{
|
||||
.i_ops = &g_epoll_ops,
|
||||
},
|
||||
NULL, /* i_parent */
|
||||
NULL, /* i_peer */
|
||||
NULL, /* i_child */
|
||||
1, /* i_crefs */
|
||||
FSNODEFLAG_TYPE_DRIVER, /* i_flags */
|
||||
{
|
||||
&g_epoll_ops /* u */
|
||||
}
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user