diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2016-02-06 12:26:21 -0800 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2016-05-29 15:56:25 +0200 |
commit | 65b298c7ca317d7e4316aa2b9e0499e13047c65c (patch) | |
tree | 4c5fbd09418f4abfb1888b3b18638a061b4dba8b /src | |
parent | 32a9084546add979115a686f9a167e70b8967149 (diff) |
Correct @param "e" to "error" in xcb_poll_for_reply*()
Found by clang -Wdocumentation:
./xcbext.h:271:11: warning: parameter 'e' not found in the function
declaration [-Wdocumentation]
* @param e Location to store errors in, or NULL. Ignored for un...
^
./xcbext.h:271:11: note: did you mean 'error'?
* @param e Location to store errors in, or NULL. Ignored for un...
^
error
./xcbext.h:283:11: warning: parameter 'e' not found in the function
declaration [-Wdocumentation]
* @param e Location to store errors in, or NULL. Ignored for un...
^
./xcbext.h:283:11: note: did you mean 'error'?
* @param e Location to store errors in, or NULL. Ignored for un...
^
error
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src')
-rw-r--r-- | src/xcbext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xcbext.h b/src/xcbext.h index bb422f0..90f9d58 100644 --- a/src/xcbext.h +++ b/src/xcbext.h @@ -268,7 +268,7 @@ void *xcb_wait_for_reply64(xcb_connection_t *c, uint64_t request, xcb_generic_er * @param c The connection to the X server. * @param request Sequence number of the request as returned by xcb_send_request(). * @param reply Location to store the reply in, must not be NULL. - * @param e Location to store errors in, or NULL. Ignored for unchecked requests. + * @param error Location to store errors in, or NULL. Ignored for unchecked requests. * @return 1 when the reply to the request was returned, else 0. * * Checks if the reply to the given request already received. Does not block. @@ -280,7 +280,7 @@ int xcb_poll_for_reply(xcb_connection_t *c, unsigned int request, void **reply, * @param c The connection to the X server. * @param request 64-bit sequence number of the request as returned by xcb_send_request(). * @param reply Location to store the reply in, must not be NULL. - * @param e Location to store errors in, or NULL. Ignored for unchecked requests. + * @param error Location to store errors in, or NULL. Ignored for unchecked requests. * @return 1 when the reply to the request was returned, else 0. * * Checks if the reply to the given request already received. Does not block. |