From: Pavel Charvat Date: Mon, 27 Oct 2008 10:44:31 +0000 (+0100) Subject: Fixed few typos. X-Git-Tag: holmes-import~237 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=953537889a99948115ca5187c686c601fb583725;p=libucw.git Fixed few typos. --- diff --git a/ucw/conf.h b/ucw/conf.h index 95baf2ca..50dbddc1 100644 --- a/ucw/conf.h +++ b/ucw/conf.h @@ -132,7 +132,7 @@ struct cf_section { /** A section. **/ * uns value; * }; * - * struct clist nodes; + * static struct clist nodes; * * static struct cf_section node = { * CF_TYPE(struct list_node), @@ -148,7 +148,7 @@ struct cf_section { /** A section. **/ * CF_END * }; * - * You could use <> or <> + * You could use <> or <> * macros to create arrays. */ #define CF_TYPE(s) .size = sizeof(s) diff --git a/ucw/doc/conf.txt b/ucw/doc/conf.txt index 71358a81..31698a62 100644 --- a/ucw/doc/conf.txt +++ b/ucw/doc/conf.txt @@ -189,11 +189,12 @@ First element of your structure must be <>. + The first example is list of strings and uses <>: - 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 } };