]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/sys_socket.c
xnu-6153.81.5.tar.gz
[apple/xnu.git] / bsd / kern / sys_socket.c
index 9988ba7c68db4a9c91d5413df71def023aaf389c..53e8f07b58167e89ee3b2261893b2fcf61fb962a 100644 (file)
@@ -98,14 +98,14 @@ static int soo_close(struct fileglob *, vfs_context_t ctx);
 static int soo_drain(struct fileproc *, vfs_context_t ctx);
 
 const struct fileops socketops = {
-       .fo_type = DTYPE_SOCKET,
-       .fo_read = soo_read,
-       .fo_write = soo_write,
-       .fo_ioctl = soo_ioctl,
-       .fo_select = soo_select,
-       .fo_close = soo_close,
+       .fo_type     = DTYPE_SOCKET,
+       .fo_read     = soo_read,
+       .fo_write    = soo_write,
+       .fo_ioctl    = soo_ioctl,
+       .fo_select   = soo_select,
+       .fo_close    = soo_close,
+       .fo_drain    = soo_drain,
        .fo_kqfilter = soo_kqfilter,
-       .fo_drain = soo_drain,
 };
 
 /* ARGSUSED */