procmgmt: Tidy header includes
[openafs.git] / src / procmgmt / procmgmt_nt.c
index 8f16c21..e4fa7ef 100644 (file)
@@ -9,25 +9,19 @@
 
 #include <afsconfig.h>
 #include <afs/param.h>
+#include <afs/stds.h>
 
+#include "procmgmt.h" /* Must be before roken */
 
-#include <afs/stds.h>
+#include <roken.h>
 
-#include <stddef.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <errno.h>
-#include <string.h>
 #include <windows.h>
 #include <pthread.h>
 #include <afs/errmap_nt.h>
 #include <afs/secutil_nt.h>
 
-#include "procmgmt.h"
 #include "pmgtprivate.h"
 
-
-
 /* Signal disposition table and associated definitions and locks */
 
 typedef struct {
@@ -609,7 +603,7 @@ StringArrayToMultiString(char *strArray[])
                    bufp += strLen + 1;
                }
            }
-           bufp = '\0';        /* terminate multistring */
+           *bufp = '\0';       /* terminate multistring */
        }
     }