1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Remove redundant nested function b64_from_24bit

Move multiple definitions of the nested function b64_from_24bit into a
single function __b64_from_24bit.
This commit is contained in:
Konstantin Serebryany
2014-06-03 16:39:08 +05:30
committed by Siddhesh Poyarekar
parent d936d379eb
commit 8747cd034a
6 changed files with 121 additions and 95 deletions

View File

@@ -28,6 +28,9 @@
#include <features.h>
#include <stdbool.h>
#include "ufc-crypt.h"
#include "crypt.h"
/* crypt.c */
extern void _ufc_doit_r (ufc_long itr, struct crypt_data * __restrict __data,
ufc_long *res);
@@ -57,4 +60,8 @@ extern char *__crypt_r (const char *__key, const char *__salt,
struct crypt_data * __restrict __data);
extern char *fcrypt (const char *key, const char *salt);
extern void __b64_from_24bit (char **cp, int *buflen,
unsigned int b2, unsigned int b1, unsigned int b0,
int n);
#endif /* crypt-private.h */