summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-11-15 12:30:06 -0700
committerChad Versace <chad.versace@linux.intel.com>2013-11-22 14:43:33 -0800
commita5cd4c7c47de821c526cab4ac877c5cf738c6a1b (patch)
tree6cef75e5875ac932193b02db18d8b2186e0da938 /man
parent185ee9e5f73701d68f45d2ea85aa5c0486cccefb (diff)
waffle: use enum waffle_error instead of int
Using the enum type instead of int makes debugging a little easier. It just seems like the right thing to do anyway. v2[chadv]: Update type of waffle_error_info::code in manpage. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'man')
-rw-r--r--man/waffle_error.3.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/waffle_error.3.xml b/man/waffle_error.3.xml
index c0cbd65..33bf8a5 100644
--- a/man/waffle_error.3.xml
+++ b/man/waffle_error.3.xml
@@ -46,7 +46,7 @@
enum waffle_error {...};
struct waffle_error_info {
- int32_t code;
+ enum waffle_error code;
const char *message;
size_t message_length;
};
@@ -58,7 +58,7 @@ struct waffle_error_info {
</funcprototype>
<funcprototype>
- <funcdef>int32_t <function>waffle_error_get_code</function></funcdef>
+ <funcdef>enum waffle_error <function>waffle_error_get_code</function></funcdef>
<void/>
</funcprototype>