This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, May 21, 2014 at 03:35:43PM +0400, Konstantin Serebryany wrote: > I realized that two other files have the same situation with the > function b64_from_24bit. > md5-crypt.c, sha256-crypt.c, and sha512-crypt.c have exactly the same > implementations of b64_from_24bit as a nested function. > One possible fix is to move those two out and make them regular static > functions, just like I did in md5-crypt.c. > > Another solution is to create just one implementation of > b64_from_24bit and place it somewhere else. > For example declare it as __b64_from_24bit in crypt-private.h and > implement it in crypt_util.c. > > WDYT? One implementation would obviously be better. Siddhesh
Attachment:
pgpouJ40TxIJW.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |