summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2016-08-18 12:59:42 -0700
committerAnas Nashif <anas.nashif@intel.com>2016-08-28 07:47:28 -0400
commita811cc5085ed76a5dcb25f69c652682443ad06b1 (patch)
tree9cbc46048f5d5f47333f7a97df6fb4da719eb4a8 /misc
parent4c6480533699701c1e00d5b5d52b12530645cc7e (diff)
printk: make _char_out globally accessible
This is to support a printf test case where we need to know the existing value so we can chain it. Change-Id: I671429aa7dab1391840f49f54cc6c23baccf265c Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/printk.c b/misc/printk.c
index a5bd8e4c1..5bcc761fc 100644
--- a/misc/printk.c
+++ b/misc/printk.c
@@ -44,7 +44,7 @@ static int _nop_char_out(int c)
return 0;
}
-static int (*_char_out)(int) = _nop_char_out;
+int (*_char_out)(int) = _nop_char_out;
/**