]> xenbits.xensource.com Git - mini-os.git/commit
mini-os: console.c: Rename static variable from buf to __print_buf
authorCostin Lupu <costin.lupu@cs.pub.ro>
Tue, 18 Aug 2020 13:44:06 +0000 (16:44 +0300)
committerWei Liu <wl@xen.org>
Thu, 27 Aug 2020 13:38:34 +0000 (13:38 +0000)
commit816701f213678809c48713037d6e1bd459f2927c
tree6221da700f080cd719fae809cad2960f6bbac63e
parent051b87bb9c19609976fb038f386920e1ce5454c5
mini-os: console.c: Rename static variable from buf to __print_buf

lwip soure code also has a static variable called 'buf' in ip_frag.c. This can
get confusing when inspecting the binary (e.g. with objdump or something
similar). Therefore this patch renames the 'buf' variable used by print()
function to '__print_buf'.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
console/console.c