]> mj.ucw.cz Git - libucw.git/blobdiff - lib/db-test.c
Removed trailing whitespaces.
[libucw.git] / lib / db-test.c
index 99139eb30d96c54a1e06a619f005fa8e5958efd6..d0f3a5eb4ab0da13da84f6b8566acc9145500d96 100644 (file)
@@ -1,7 +1,10 @@
 /*
- *     Sherlock Library -- Database Manager -- Tests and Benchmarks
+ *     UCW Library -- Database Manager -- Tests and Benchmarks
  *
- *     (c) 1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
+ *     (c) 1999 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 #if 1
@@ -12,7 +15,7 @@
 #define NAME "GDBM"
 #endif
 
-#include <getopt.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <stdarg.h>
 #include <sys/stat.h>
@@ -260,7 +263,7 @@ int main(int argc, char **argv)
   char *ch;
   int dont_delete = 0;
 
-  initlog("dbtest");
+  log_init("dbtest");
   setvbuf(stdout, NULL, _IONBF, 0);
   setvbuf(stderr, NULL, _IONBF, 0);
   while ((c = getopt(argc, argv, "c:p:k:n:d:vsStF")) >= 0)