]> mj.ucw.cz Git - libucw.git/blobdiff - lib/redblack-test.c
Polished the introductory comments in sorter.h.
[libucw.git] / lib / redblack-test.c
index 3c48f18f5010f639c753598296867be186302282..80a7a000ce8711603b11fce25877ca03fb46b4bb 100644 (file)
@@ -5,11 +5,10 @@
  */
 
 #include "lib/lib.h"
-#include "lib/conf2.h"
+#include "lib/getopt.h"
 #include "lib/fastbuf.h"
 #include <stdio.h>
 #include <stdlib.h>
-#include <getopt.h>
 
 struct my1_node
 {
@@ -130,7 +129,7 @@ main(int argc, char **argv)
        int i;
        cf_def_file = NULL;
        log_init(argv[0]);
-       while ((opt = cf_get_opt(argc, argv, options, CF_NO_LONG_OPTS, NULL)) >= 0)
+       while ((opt = cf_getopt(argc, argv, options, CF_NO_LONG_OPTS, NULL)) >= 0)
                switch (opt)
                {
                        case 'v':