This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Constant data in .c, not in a .h
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 8 Oct 2015 23:16:22 +0000 (19:16 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 9 Oct 2015 11:05:36 +0000 (07:05 -0400)
commit7b3bf35ecbc7c84893e23368f53ba6cdfc2ae847
tree3321f24c5a2ff7781a70af17c9a7673c59ea3e33
parent30ed043abbc6b8166b8cb155e9333ff78d958772
Constant data in .c, not in a .h

clang says:
./sdbm.h:54:20: warning: 'extern' variable has an initializer [-Wextern-initializer]
ext/SDBM_File/sdbm.c
ext/SDBM_File/sdbm.h