Fix NXFFS compilation error

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3990 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-09-28 18:24:00 +00:00
parent 145562eef1
commit d7c70249f7
6 changed files with 100 additions and 47 deletions
+20
View File
@@ -127,6 +127,26 @@ extern "C" {
#define EXTERN extern
#endif
/****************************************************************************
* Name: up_simtouchscreen
*
* Description:
* Configure the simulated touchscreen. This will register the driver as
* /dev/inputN where N is the minor device number
*
* Input Parameters:
* minor - The input device minor number
*
* Returned Value:
* Zero is returned on success. Otherwise, a negated errno value is
* returned to indicate the nature of the failure.
*
****************************************************************************/
#if defined(CONFIG_SIM_X11FB) && defined(CONFIG_SIM_TOUCHSCREEN)
EXTERN int up_simtouchscreen(int minor);
#endif
#undef EXTERN
#ifdef __cplusplus
}