- Use NULL instead of 0 for all non-handle pointers.
- Fix non-ANSI function declarations.
- Make a function static.
diff --git a/server/sock.c b/server/sock.c
index 7fcb406..3fa3049 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -529,7 +529,7 @@
}
else
{
- if (!create_async( current, 0, queue, apc, user, iosb ))
+ if (!create_async( current, NULL, queue, apc, user, iosb ))
return;
}
@@ -674,7 +674,7 @@
acceptsock->wparam = 0;
if (sock->event) acceptsock->event = (struct event *)grab_object( sock->event );
acceptsock->flags = sock->flags;
- acceptsock->deferred = 0;
+ acceptsock->deferred = NULL;
if (!(acceptsock->fd = create_anonymous_fd( &sock_fd_ops, acceptfd, &acceptsock->obj )))
{
release_object( acceptsock );