]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/rq.c
Change 'attribute' directive to 'attributetype'
[openldap] / servers / slurpd / rq.c
index 4ef66727bd51014f8e0e09adbecd6f86089a5944..0dd599ba6db120d5d278d2fd71eb5c698322cacd 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright (c) 1996 Regents of the University of Michigan.
  * All rights reserved.
@@ -36,6 +37,7 @@
 #include <stdio.h>
 
 #include <ac/stdlib.h>
+#include <ac/string.h>
 #include <ac/unistd.h>         /* get ftruncate() */
 
 #include "slurp.h"
@@ -314,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 ) {