From fdb1d0a4df496e7a3232a950d5c72231363cf67a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 8 Oct 2014 08:33:00 -0600 Subject: Remove non-portable references to syslog from apps/examples --- apps/examples/nxtext/nxtext_bkgd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/examples/nxtext/nxtext_bkgd.c') 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); } } -- cgit v1.2.3