diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 08:33:00 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 08:33:00 -0600 |
commit | fdb1d0a4df496e7a3232a950d5c72231363cf67a (patch) | |
tree | 5d18c1b4f9241f17396ec663ff4425bf21e6b57a /apps/examples/nxtext/nxtext_bkgd.c | |
parent | 1753a0251a941fa4d1a5b95aec631209e9957670 (diff) | |
download | nuttx-fdb1d0a4df496e7a3232a950d5c72231363cf67a.tar.gz nuttx-fdb1d0a4df496e7a3232a950d5c72231363cf67a.tar.bz2 nuttx-fdb1d0a4df496e7a3232a950d5c72231363cf67a.zip |
Remove non-portable references to syslog from apps/examples
Diffstat (limited to 'apps/examples/nxtext/nxtext_bkgd.c')
-rw-r--r-- | apps/examples/nxtext/nxtext_bkgd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/nxtext/nxtext_bkgd.c b/apps/examples/nxtext/nxtext_bkgd.c index e91ad0a91..1dc74d075 100644 --- a/apps/examples/nxtext/nxtext_bkgd.c +++ b/apps/examples/nxtext/nxtext_bkgd.c @@ -127,7 +127,7 @@ static void nxbg_redrawrect(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect) ret = nx_fill(hwnd, rect, g_bgstate.wcolor); if (ret < 0) { - message("nxbg_redrawrect: nx_fill failed: %d\n", errno); + printf("nxbg_redrawrect: nx_fill failed: %d\n", errno); } /* Fill each character on the display (Only the characters within rect @@ -203,8 +203,8 @@ static void nxbg_position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size, static void nxbg_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos, uint8_t buttons, FAR void *arg) { - message("nxbg_mousein: hwnd=%p pos=(%d,%d) button=%02x\n", - hwnd, pos->x, pos->y, buttons); + printf("nxbg_mousein: hwnd=%p pos=(%d,%d) button=%02x\n", + hwnd, pos->x, pos->y, buttons); } #endif @@ -260,7 +260,7 @@ static inline void nxbg_movedisplay(NXWINDOW hwnd, int bottom, int lineheight) ret = nx_fill(hwnd, &rect, g_bgstate.wcolor); if (ret < 0) { - message("nxbg_movedisplay: nx_fill failed: %d\n", errno); + printf("nxbg_movedisplay: nx_fill failed: %d\n", errno); } /* Fill each character that might lie within in the bounding box */ @@ -283,7 +283,7 @@ static inline void nxbg_movedisplay(NXWINDOW hwnd, int bottom, int lineheight) ret = nx_fill(hwnd, &rect, g_bgstate.wcolor); if (ret < 0) { - message("nxbg_movedisplay: nx_fill failed: %d\n", errno); + printf("nxbg_movedisplay: nx_fill failed: %d\n", errno); } } |