summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Thomas Preud'homme2013-02-10 20:18:00 +0100
committerGravatar Nikias Bassen2013-02-10 20:18:00 +0100
commitf2bd3760b12ee5be83ca6ad84d2a1447b57597ab (patch)
treec41c8db486d48cb6ff2e7496626136118523fb14
parent7cbf283090ec273c006a14129eee8bba1885da58 (diff)
downloadlibvformat-f2bd3760b12ee5be83ca6ad84d2a1447b57597ab.tar.gz
libvformat-f2bd3760b12ee5be83ca6ad84d2a1447b57597ab.tar.bz2
Fix typo in manpage and source
Two function declarations suffer from a mispell: requred instead of required. As a consequences, these typo are also found in the manpages generated by c2man.
-rw-r--r--doc/vf_get_prop_name_string.32
-rw-r--r--doc/vf_get_prop_value_string.32
-rw-r--r--vformat/vf_iface.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/vf_get_prop_name_string.3 b/doc/vf_get_prop_name_string.3
index 7d1cfee..aa3bf3b 100644
--- a/doc/vf_get_prop_name_string.3
+++ b/doc/vf_get_prop_name_string.3
@@ -23,7 +23,7 @@ extern char *vf_get_prop_name_string
Property to locate string from.
.TP
.B "uint32_t n_string"
-Index to string requred.
+Index to string required.
.SH "DESCRIPTION"
Get n'th name string. For example a property may be defined as:
diff --git a/doc/vf_get_prop_value_string.3 b/doc/vf_get_prop_value_string.3
index 4fc9a81..afc6f66 100644
--- a/doc/vf_get_prop_value_string.3
+++ b/doc/vf_get_prop_value_string.3
@@ -23,7 +23,7 @@ extern char *vf_get_prop_value_string
Property to locate string from.
.TP
.B "uint32_t n_string"
-Index to string requred.
+Index to string required.
.SH "DESCRIPTION"
Obtain string pointer value from VF_PROP_T. For example a property
may be defined as:
diff --git a/vformat/vf_iface.h b/vformat/vf_iface.h
index ab5e8d9..12c5f22 100644
--- a/vformat/vf_iface.h
+++ b/vformat/vf_iface.h
@@ -906,7 +906,7 @@ extern VFORMATDECLSPEC bool_t vf_set_prop_value(
extern VFORMATDECLSPEC char *vf_get_prop_value_string(
VF_PROP_T *p_prop, /* Property to locate string from */
- uint32_t n_string /* Index to string requred */
+ uint32_t n_string /* Index to string required */
);
@@ -931,7 +931,7 @@ extern VFORMATDECLSPEC char *vf_get_prop_value_string(
extern VFORMATDECLSPEC char *vf_get_prop_name_string(
VF_PROP_T *p_prop, /* Property to locate string from */
- uint32_t n_string /* Index to string requred */
+ uint32_t n_string /* Index to string required */
);