]> git.dujemihanovic.xyz Git - u-boot.git/commit
Update print_buffer() to use const
authorSimon Glass <sjg@chromium.org>
Sun, 24 Feb 2013 17:33:12 +0000 (17:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 1 Mar 2013 03:09:21 +0000 (19:09 -0800)
commitbda32ffcf712806c7880ded25a012fbeede35e80
tree3cdcc1b71162801f25767fe28d3deed3463c9b83
parent6b3ff98da41a084658877282057adeb59ff6e9f2
Update print_buffer() to use const

The buffer cannot be changed by this function, so change the buffer
pointer to a const. This allows callers with const pointer to use the
function without a cast.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/common.h
lib/display_options.c