Skip to content

Commit

Permalink
printk: make _char_out globally accessible
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Andrew Boie authored and nashif committed Aug 28, 2016
1 parent 4c64805 commit a811cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;


/**
Expand Down

0 comments on commit a811cc5

Please sign in to comment.