aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc/helpers.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-11-13 10:33:48 -0500
committerJames McCoy <jamessan@jamessan.com>2016-11-23 20:29:59 -0500
commit38ee85d0007dced6469f4d93b46e55a49511f172 (patch)
tree3826b34c733e69f520663dfc0f8bf791428d01e0 /src/nvim/msgpack_rpc/helpers.c
parent6d727657c8c9f404821ddd92b36a8e4bc1a4190e (diff)
downloadrneovim-38ee85d0007dced6469f4d93b46e55a49511f172.tar.gz
rneovim-38ee85d0007dced6469f4d93b46e55a49511f172.tar.bz2
rneovim-38ee85d0007dced6469f4d93b46e55a49511f172.zip
Move utf8len_tab definition to globals.h
The existing code would cause utf8len_tab to be declared as non-extern when main.cpp included globals.h as well as in mbyte.c. This causes the following warning Linking C executable ../../bin/nvim /usr/bin/ld: Warning: size of symbol `utf8len_tab' changed from 256 in CMakeFiles/nvim.dir/main.c.o to 320 in CMakeFiles/nvim.dir/mbyte.c.o Moving the definition to globals.h and using INIT() ensures the array is only defined in main.cpp and other places globals.h is included see an extern declaration.
Diffstat (limited to 'src/nvim/msgpack_rpc/helpers.c')
0 files changed, 0 insertions, 0 deletions