diff options
author | Craig A. Berry <craigberry@mac.com> | 2018-06-28 17:46:40 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2018-07-07 21:27:30 -0500 |
commit | 2f2a2ed1c0bbba915d8fbb368503976317358592 (patch) | |
tree | 8646d8a50a36b09ce89b4a55ea973edc22b94cf9 /Configure | |
parent | 7e7bdfd74fb6c113e9fbec9b06b7f12a6be7a687 (diff) | |
download | perl-2f2a2ed1c0bbba915d8fbb368503976317358592.tar.gz |
Fix Berkeley DB function type tests.
These tests fail with clang with a missing return in non-void
function warning, and any warning at all causes the types to
default to int. It turns out DB::File doesn't use Configure's
types, but we should report the correct thing in case anyone
accesses them via %Config.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19957,6 +19957,7 @@ define) #ifndef DB_VERSION_MAJOR u_int32_t hash_cb (const void* ptr, size_t size) { + return 0; } HASHINFO info; int main() @@ -20000,6 +20001,7 @@ define) #ifndef DB_VERSION_MAJOR size_t prefix_cb (const DBT *key1, const DBT *key2) { + return 0; } BTREEINFO info; int main() |