From 953537889a99948115ca5187c686c601fb583725 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Mon, 27 Oct 2008 11:44:31 +0100 Subject: [PATCH] Fixed few typos. --- ucw/conf.h | 4 ++-- ucw/doc/conf.txt | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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 } }; -- 2.39.2