summaryrefslogtreecommitdiff
path: root/crypt/crypt-private.h
diff options
context:
space:
mode:
authorKonstantin Serebryany <konstantin.s.serebryany@gmail.com>2014-06-03 16:39:08 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-03 16:39:08 +0530
commit8747cd034a460597a78c4ac616c13e3c981ff1d3 (patch)
treee7afbbf3198b6e56c3560b2b8805d029af24605c /crypt/crypt-private.h
parentd936d379eb1837c35e390b6293f15f75b634db6e (diff)
Remove redundant nested function b64_from_24bit
Move multiple definitions of the nested function b64_from_24bit into a single function __b64_from_24bit.
Diffstat (limited to 'crypt/crypt-private.h')
-rw-r--r--crypt/crypt-private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypt/crypt-private.h b/crypt/crypt-private.h
index fbaf9c4479..ea46a7f949 100644
--- a/crypt/crypt-private.h
+++ b/crypt/crypt-private.h
@@ -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 */