]> code.citadel.org Git - citadel.git/blobdiff - citadel/database_sleepycat.c
Removed the 'defrag databases' stub function and command
[citadel.git] / citadel / database_sleepycat.c
index 64191dcb940ef6bd937d8c3edbe8312dfffce914..01cfb31628e9e3642f7e1303788876673c54e2d7 100644 (file)
 #endif
 
 
-#include <pthread.h>
 #include "citadel.h"
 #include "server.h"
 #include "citserver.h"
 #include "database.h"
 #include "msgbase.h"
 #include "sysdep_decls.h"
+#include "threads.h"
 #include "config.h"
 
 #include "ctdl_module.h"
@@ -170,19 +170,6 @@ void cdb_check_handles(void)
 }
 
 
-/*
- * Reclaim unused space in the databases.  We need to do each one of
- * these discretely, rather than in a loop.
- *
- * This is a stub function in the Sleepycat DB backend, because there is no
- * such API call available.
- */
-void defrag_databases(void)
-{
-       /* do nothing */
-}
-
-
 /*
  * Cull the database logs
  */