chiark / gitweb /
hbytes.h: Add a missing `extern' on a data declaration
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 17 Aug 2020 12:59:27 +0000 (13:59 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 17 Aug 2020 12:59:27 +0000 (13:59 +0100)
commit071ce4c960a8ccdc1b8297e05cf6464c71f58494
treebc88dd4ea4a651d4d7e8851f54ed2ea7e3ba2d3c
parentb450d5e4dfa83c0d0103a0cdf8b76aeb1aa827bf
hbytes.h: Add a missing `extern' on a data declaration

With GCC-10's changes to the default symbol resolution rules, the
absence leads to this error:
  /usr/bin/ld: hbytes.o:/<<PKGBUILDDIR>>/hbytes/hbytes.h:251: multiple definition of `cht_ulong_type'; chop.o:/<<PKGBUILDDIR>>/hbytes/hbytes.h:251: first defined here
(once per object file).

Closes: 957087
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hbytes/hbytes.h