]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/redblack-test.c
tableprinter: code cleanup
[libucw.git] / ucw / redblack-test.c
index cd0efee1040bc7a3f0e7a6b6543cd7591066cd64..9125710229fedd844efeda0992ef1cb78da51940 100644 (file)
@@ -4,9 +4,9 @@
  *     (c) 2002, Robert Spalek <robert@ucw.cz>
  */
 
  *     (c) 2002, Robert Spalek <robert@ucw.cz>
  */
 
-#include "ucw/lib.h"
-#include "ucw/getopt.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/getopt.h>
+#include <ucw/fastbuf.h>
 #include <stdio.h>
 #include <stdlib.h>
 
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -91,10 +91,10 @@ static void my2_dump_data(struct fastbuf *fb UNUSED, struct my2_node *n UNUSED)
 #define TREE_CONSERVE_SPACE
 #include "redblack.h"
 
 #define TREE_CONSERVE_SPACE
 #include "redblack.h"
 
-static void random_string(char *txt, uns max_len)
+static void random_string(char *txt, uint max_len)
 {
 {
-       uns len = random() % max_len;
-       uns j;
+       uint len = random() % max_len;
+       uint j;
        for (j=0; j<len; j++)
                txt[j] = random() % 96 + 32;
        txt[len] = 0;
        for (j=0; j<len; j++)
                txt[j] = random() % 96 + 32;
        txt[len] = 0;