]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/string.c
tableprinter: definition of the table separated from handle
[libucw.git] / ucw / string.c
index 7bda37407abcf8eef9f7ece4abcbd82e1497be48..29cfa42b5e50699de6fd5f4e62645fbb380c8d15 100644 (file)
@@ -25,10 +25,10 @@ strnlen(const char *str, size_t n)
 #endif
 
 char *
-str_format_flags(char *dest, const char *fmt, uns flags)
+str_format_flags(char *dest, const char *fmt, uint flags)
 {
   char *start = dest;
-  for (uns i=0; fmt[i]; i++)
+  for (uint i=0; fmt[i]; i++)
     {
       if (flags & (1 << i))
        *dest++ = fmt[i];
@@ -40,7 +40,7 @@ str_format_flags(char *dest, const char *fmt, uns flags)
 }
 
 size_t
-str_count_char(const char *str, uns chr)
+str_count_char(const char *str, uint chr)
 {
   const byte *s = str;
   size_t i = 0;