Commit b9d8cefb authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] C99 initializers for include/linux/net.h

parent 13d77434
...@@ -210,23 +210,23 @@ SOCKCALL_WRAP(name, mmap, (struct file *file, struct socket *sock, struct vm_are ...@@ -210,23 +210,23 @@ SOCKCALL_WRAP(name, mmap, (struct file *file, struct socket *sock, struct vm_are
(file, sock, vma)) \ (file, sock, vma)) \
\ \
static struct proto_ops name##_ops = { \ static struct proto_ops name##_ops = { \
family: fam, \ .family = fam, \
\ \
release: __lock_##name##_release, \ .release = __lock_##name##_release, \
bind: __lock_##name##_bind, \ .bind = __lock_##name##_bind, \
connect: __lock_##name##_connect, \ .connect = __lock_##name##_connect, \
socketpair: __lock_##name##_socketpair, \ .socketpair = __lock_##name##_socketpair, \
accept: __lock_##name##_accept, \ .accept = __lock_##name##_accept, \
getname: __lock_##name##_getname, \ .getname = __lock_##name##_getname, \
poll: __lock_##name##_poll, \ .poll = __lock_##name##_poll, \
ioctl: __lock_##name##_ioctl, \ .ioctl = __lock_##name##_ioctl, \
listen: __lock_##name##_listen, \ .listen = __lock_##name##_listen, \
shutdown: __lock_##name##_shutdown, \ .shutdown = __lock_##name##_shutdown, \
setsockopt: __lock_##name##_setsockopt, \ .setsockopt = __lock_##name##_setsockopt, \
getsockopt: __lock_##name##_getsockopt, \ .getsockopt = __lock_##name##_getsockopt, \
sendmsg: __lock_##name##_sendmsg, \ .sendmsg = __lock_##name##_sendmsg, \
recvmsg: __lock_##name##_recvmsg, \ .recvmsg = __lock_##name##_recvmsg, \
mmap: __lock_##name##_mmap, \ .mmap = __lock_##name##_mmap, \
}; };
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment