X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblmdb%2Fmidl.h;h=1aa374c9f6d8a45de31c52c4ca482cda197ee20f;hb=385193cd520c3b238fe9048d47e8abf8383386bc;hp=a7f25026ce536eddb17c86be621ddfc8f9ee43f7;hpb=983f896aa77027bfc88d9303d2412c58a5a1f2b4;p=openldap diff --git a/libraries/liblmdb/midl.h b/libraries/liblmdb/midl.h index a7f25026ce..1aa374c9f6 100644 --- a/libraries/liblmdb/midl.h +++ b/libraries/liblmdb/midl.h @@ -11,7 +11,8 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2000-2014 The OpenLDAP Foundation. + * Copyright 2000-2018 The OpenLDAP Foundation. + * Portions Copyright 2001-2018 Howard Chu, Symas Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -98,9 +99,8 @@ void mdb_midl_free(MDB_IDL ids); /** Shrink an IDL. * Return the IDL to the default size if it has grown larger. * @param[in,out] idp Address of the IDL to shrink. - * @return 0 on no change, non-zero if shrunk. */ -int mdb_midl_shrink(MDB_IDL *idp); +void mdb_midl_shrink(MDB_IDL *idp); /** Make room for num additional elements in an IDL. * @param[in,out] idp Address of the IDL.