From 7fd6913bff0fb65c045056eb4e4a9465c11c93f5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 3 Dec 2008 00:28:08 +0000 Subject: For consistency, all close function return int git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1398 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/graphics/nxtk/nxtk_closetoolbar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nuttx/graphics/nxtk/nxtk_closetoolbar.c') diff --git a/nuttx/graphics/nxtk/nxtk_closetoolbar.c b/nuttx/graphics/nxtk/nxtk_closetoolbar.c index 22decf804..2cd44dfc3 100644 --- a/nuttx/graphics/nxtk/nxtk_closetoolbar.c +++ b/nuttx/graphics/nxtk/nxtk_closetoolbar.c @@ -84,11 +84,11 @@ * htb - The toolbar handle returned by nxtk_opentoolbar * * Return: - * None + * OK on success; ERROR on failure with errno set appropriately * ****************************************************************************/ -void nxtk_closetoolbar(NXTKTOOLBAR htb) +int nxtk_closetoolbar(NXTKTOOLBAR htb) { FAR struct nxtk_framedwindow_s *fwnd = (FAR struct nxtk_framedwindow_s *)htb; @@ -107,5 +107,6 @@ void nxtk_closetoolbar(NXTKTOOLBAR htb) */ nxfe_redrawreq(&fwnd->wnd, &fwnd->wnd.bounds); + return OK; } -- cgit v1.2.3