In metaconfig.git, the branch master has been updated <http://perl5.git.perl.org/metaconfig.git/commitdiff/4162ec862cf84bebc18d9964750974ea66ae2c34?hp=9532773f1118c2a7c681f313d01a268853f0de4b>
- Log ----------------------------------------------------------------- commit 4162ec862cf84bebc18d9964750974ea66ae2c34 Author: H.Merijn Brand - Tux <[email protected]> Date: Tue Jul 15 15:06:36 2014 +0200 ANSI prototypes for Berkeley DB API testing. So that g++ doesn't go apoplectic. K&R prototypes in 2014? Impressive. Backport of 70849829971b5be9e3df50d5854c923944cae916 Jarkko Hietaniemi <[email protected]> 2014-06-30 03:10:02 ----------------------------------------------------------------------- Summary of changes: U/perl/i_db.U | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/U/perl/i_db.U b/U/perl/i_db.U index 04b0aed..085f463 100644 --- a/U/perl/i_db.U +++ b/U/perl/i_db.U @@ -203,9 +203,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; @@ -250,9 +248,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; -- perl5 metaconfig repository
