From 08b2e5a5495fb08277274eaaf91c21069e0fbadf Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 Dec 2009 19:00:40 +0000 Subject: Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2351 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/nx/nx_main.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'nuttx/examples/nx/nx_main.c') diff --git a/nuttx/examples/nx/nx_main.c b/nuttx/examples/nx/nx_main.c index 8ea2fd4ac..a07bfd3c4 100644 --- a/nuttx/examples/nx/nx_main.c +++ b/nuttx/examples/nx/nx_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/nx/nx_main.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -40,6 +40,8 @@ #include #include +#include +#include #include #include #include @@ -78,8 +80,8 @@ static int g_exitcode = NXEXIT_SUCCESS; static struct nxeg_state_s g_wstate[2]; #ifdef CONFIG_NX_KBD -static const ubyte g_kbdmsg1[] = "NuttX is cool!"; -static const ubyte g_kbdmsg2[] = "NuttX is fun!"; +static const uint8_t g_kbdmsg1[] = "NuttX is cool!"; +static const uint8_t g_kbdmsg2[] = "NuttX is fun!"; #endif /**************************************************************************** @@ -95,9 +97,9 @@ NXHANDLE g_hnx = NULL; nxgl_coord_t g_xres; nxgl_coord_t g_yres; -boolean b_haveresolution = FALSE; +bool b_haveresolution = false; #ifdef CONFIG_NX_MULTIUSER -boolean g_connected = FALSE; +bool g_connected = false; #endif sem_t g_semevent = {0}; -- cgit v1.2.3