]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf-test.c
Removed partial support for LFS on Linuxes with pre-2.1 glibc.
[libucw.git] / lib / conf-test.c
index 6e9891c3434fae66d8118b20de749e83126c369b..f8ad4ed736ff0e0039b39322d392fab53fe919c1 100644 (file)
@@ -1,12 +1,11 @@
 /* Test for configuration parser */
 
-#include <stdio.h>
-#include <string.h>
-#include <getopt.h>
-
 #include "lib/lib.h"
 #include "lib/conf.h"
 
+#include <stdio.h>
+#include <string.h>
+
 static int robert=14;
 static int spalek=-3;
 static char *heslo="prazdne";
@@ -73,7 +72,7 @@ int main(int argc, char *argv[])
 {
        int c;
 
-       initlog(argv[0]);
+       log_init(argv[0]);
 
        cf_register(jmeno);
        cf_register(telo);