summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-29 21:10:02 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-30 09:17:12 -0400
commit70849829971b5be9e3df50d5854c923944cae916 (patch)
tree11a1126c46e14fa9f08332a76355b98880131f92 /Configure
parent75e58adc6f06e66e295d5d82bb4e4d14a80f1ae8 (diff)
downloadperl-70849829971b5be9e3df50d5854c923944cae916.tar.gz
ANSI prototypes for Berkeley DB API testing.
So that g++ doesn't go apoplectic. K&R prototypes in 2014? Impressive.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 2 insertions, 6 deletions
diff --git a/Configure b/Configure
index 3ab5d67a5b..4ad83c47a6 100755
--- a/Configure
+++ b/Configure
@@ -19529,9 +19529,7 @@ define)
#include <db.h>
#ifndef DB_VERSION_MAJOR
-u_int32_t hash_cb (ptr, size)
-const void *ptr;
-size_t size;
+u_int32_t hash_cb (const void* ptr, size_t size)
{
}
HASHINFO info;
@@ -19574,9 +19572,7 @@ define)
#include <db.h>
#ifndef DB_VERSION_MAJOR
-size_t prefix_cb (key1, key2)
-const DBT *key1;
-const DBT *key2;
+size_t prefix_cb (const DBT *key1, const DBT *key2)
{
}
BTREEINFO info;