]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/rq.c
Change 'attribute' directive to 'attributetype'
[openldap] / servers / slurpd / rq.c
index 46667210b698ff8b6571d5b7d8c3e81e526847db..0dd599ba6db120d5d278d2fd71eb5c698322cacd 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright (c) 1996 Regents of the University of Michigan.
  * All rights reserved.
@@ -34,7 +35,9 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
+#include <ac/string.h>
 #include <ac/unistd.h>         /* get ftruncate() */
 
 #include "slurp.h"
@@ -313,8 +316,6 @@ Rq_needtrim(
 )
 {
     int                rc = 0;
-    Re         *re;
-    int                nzrc = 0;       /* nzrc is count of entries with refcnt == 0 */
     time_t     now;
 
     if ( rq == NULL ) {