summaryrefslogtreecommitdiffstats
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-05-20 00:53:49 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-05-20 00:53:49 +0000
commitcb4057a08ad8437df433baf1e3e35b1bcbce2239 (patch)
treec20796f0ef806a6d15ba87d45dbe2898cd9fe531 /nuttx
parented667e7b74a2558bf23052c2d24262cd47da165d (diff)
This should have been part of the 6.18 release but was lost somehow
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4752 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/graphics/nxtk/nxtk_block.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/graphics/nxtk/nxtk_block.c b/nuttx/graphics/nxtk/nxtk_block.c
index d011525fe7..11baf7f4f4 100644
--- a/nuttx/graphics/nxtk/nxtk_block.c
+++ b/nuttx/graphics/nxtk/nxtk_block.c
@@ -93,15 +93,17 @@
*
* Input Parameters:
* hfwnd - The window to be blocked
+ * arg - An argument that will accompany the block messages (This is arg2
+ * in the blocked callback).
*
* Return:
* OK on success; ERROR on failure with errno set appropriately
*
****************************************************************************/
-int nxtk_block(NXTKWINDOW hfwnd)
+int nxtk_block(NXTKWINDOW hfwnd, FAR void *arg)
{
- return nx_block((NXWINDOW)hfwnd);
+ return nx_block((NXWINDOW)hfwnd, arg);
}
#endif /* CONFIG_NX_MULTIUSER */