diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2015-02-13 20:16:15 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-13 21:58:44 +0200 |
commit | b99c419fa477985a12709651c4d3724cb37362ad (patch) | |
tree | 810c9739197e7835df8a0f6f1147aaeca834af23 /client/display.c | |
parent | 91994a706915db4cee4e4df47b81d542ad39a9ad (diff) | |
download | bluez-b99c419fa477985a12709651c4d3724cb37362ad.tar.gz |
client/display: Fix compilation warning on Android
isprint requires ctype.h include.
target thumb C: btmgmt <= external/bluetooth/bluez/client/display.c
external/bluetooth/bluez/client/display.c: In function 'rl_hexdump':
external/bluetooth/bluez/client/display.c:81:3: warning: implicit
declaration of function 'isprint' [-Wimplicit-function-declaration]
str[(i % 16) + 51] = isprint(buf[i]) ? buf[i] : '.';
^
Diffstat (limited to 'client/display.c')
-rw-r--r-- | client/display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/display.c b/client/display.c index 619973cfa..d85b9d0c2 100644 --- a/client/display.c +++ b/client/display.c @@ -29,6 +29,7 @@ #include <stdlib.h> #include <stdarg.h> #include <stdbool.h> +#include <ctype.h> #include <readline/readline.h> #include "display.h" |