]> git.sur5r.net Git - openldap/commitdiff
silence warning(s)
authorPierangelo Masarati <ando@openldap.org>
Mon, 25 Jul 2005 20:50:33 +0000 (20:50 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 25 Jul 2005 20:50:33 +0000 (20:50 +0000)
configure.in
servers/slapd/back-bdb/init.c
servers/slapd/back-bdb/tools.c
servers/slapd/overlays/glue.c

index eb1f52fb7c3c792b8aa5629421b39198ece7783c..156cefb3ca3962ae3289f179d731e3fa8eb41068 100644 (file)
@@ -774,11 +774,11 @@ if test $am_cv_sys_posix_termios = yes ; then
                [define if you have POSIX termios])
 fi
 
-AC_CHECK_HEADERS(      \
+AC_CHECK_HEADERS(              \
        arpa/inet.h             \
-       arpa/nameser.h  \
+       arpa/nameser.h          \
        assert.h                \
-       bits/types.h    \
+       bits/types.h            \
        conio.h                 \
        crypt.h                 \
        direct.h                \
@@ -791,7 +791,7 @@ AC_CHECK_HEADERS(   \
        libutil.h               \
        limits.h                \
        locale.h                \
-       netinet/tcp.h   \
+       netinet/tcp.h           \
        malloc.h                \
        memory.h                \
        psap.h                  \
@@ -809,11 +809,11 @@ AC_CHECK_HEADERS( \
        sys/errno.h             \
        sys/ioctl.h             \
        sys/param.h             \
-       sys/resource.h  \
-       sys/select.h    \
-       sys/socket.h    \
+       sys/resource.h          \
+       sys/select.h            \
+       sys/socket.h            \
        sys/stat.h              \
-       sys/syslog.h    \
+       sys/syslog.h            \
        sys/time.h              \
        sys/types.h             \
        sys/ucred.h             \
@@ -821,6 +821,7 @@ AC_CHECK_HEADERS(   \
        syslog.h                \
        termios.h               \
        unistd.h                \
+       utime.h                 \
        winsock.h               \
        winsock2.h              \
 )
index 99f6f33eaa372750864f08d8f980743d24e12566..666e43c03d36b69bd936186ed90696faf897caf5 100644 (file)
@@ -22,6 +22,9 @@
 #include <ac/stdlib.h>
 #include <ac/errno.h>
 #include <sys/stat.h>
+#ifdef HAVE_UTIME_H
+#include <utime.h>
+#endif /* HAVE_UTIME_H */
 #include "back-bdb.h"
 #include <lutil.h>
 #include <ldap_rq.h>
index 73d26a251aabe817d8be493fafb02912f52280f6..bafba3549e7a2ef597aba98f95496bcdc354d59f 100644 (file)
@@ -185,7 +185,9 @@ Entry* bdb_tool_entry_get( BackendDB *be, ID id )
 {
        int rc;
        Entry *e = NULL;
+#ifndef BDB_HIER
        struct berval bv;
+#endif
 
        assert( be != NULL );
        assert( slapMode & SLAP_TOOL_MODE );
index 125af28328f974d97663efbd30d43752ec0bf0f9..a832597f1631c5f6bcc6e9831897dc4ef8070bba 100644 (file)
@@ -516,7 +516,6 @@ glue_close (
        BackendInfo *bi
 )
 {
-       slap_overinst *on = glue_tool_inst( bi );
        static int glueClosed = 0;
        int rc = 0;