- Use NULL instead of 0 for all non-handle pointers.
- Fix non-ANSI function declarations.
- Make a function static.

diff --git a/server/snapshot.c b/server/snapshot.c
index 61265ba..7f1670c 100644
--- a/server/snapshot.c
+++ b/server/snapshot.c
@@ -125,8 +125,8 @@
     reply->count    = ptr->count;
     reply->pid      = get_process_id( ptr->process );
     reply->ppid     = ptr->process->parent ? get_process_id( ptr->process->parent ) : 0;
-    reply->heap     = 0;  /* FIXME */
-    reply->module   = 0;  /* FIXME */
+    reply->heap     = NULL;  /* FIXME */
+    reply->module   = NULL;  /* FIXME */
     reply->threads  = ptr->threads;
     reply->priority = ptr->priority;
     reply->handles  = ptr->handles;