]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/doc/conf.txt
Main: One more relnote
[libucw.git] / ucw / doc / conf.txt
index 2bc7cf081e0b75ca88ff0b73fd8c1ea18dd42794..31698a62b9d6f4fafb8ad78a6c6b1c535844356d 100644 (file)
@@ -152,7 +152,7 @@ are three ways to do that:
 +
 For example, you can have an static array of five unsigned integers:
 +
-  static uns array = { 1, 2, 3, 4, 5 };
+  static uns array[] = { 1, 2, 3, 4, 5 };
 +
   static struct cf_section section = {
     CF_ITEMS {
@@ -189,11 +189,12 @@ First element of your structure must be <<clist:type_cnode,`cnode`>>.
 +
 The first example is list of strings and uses <<clist:simple,simple
 lists>>:
-  struct clist list;
++
+  static struct clist list;
 +
   static struct cf_section section = {
     CF_ITEMS {
-      CF_LIST("list", &list, &cf_string_list_cofnig),
+      CF_LIST("list", &list, &cf_string_list_config),
       CF_END
     }
   };