aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-01-15 02:42:02 -0600
committerRob Landley <rob@landley.net>2021-01-15 02:42:02 -0600
commitaf50278fc92ce5846d727eaa2b66b85063f53cae (patch)
tree87c8295c3a9c5d4b8e2dbd41cf2655d913b252a3 /lib
parentb3910f4871f05ed3c90dab7aa7e9cc25abae2c91 (diff)
downloadtoybox-af50278fc92ce5846d727eaa2b66b85063f53cae.tar.gz
Cleanup base32 slightly.
Diffstat (limited to 'lib')
-rw-r--r--lib/lib.c12
-rw-r--r--lib/lib.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/lib.c b/lib/lib.c
index 1aa9b80d..dfa4499f 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -870,18 +870,6 @@ void base64_init(char *p)
*(p++) = '/';
}
-// Init base32 table
-
-void base32_init(char *p)
-{
- int i;
-
- for (i = 'A'; i != '8'; i++) {
- if (i == 'Z'+1) i = '2';
- *(p++) = i;
- }
-}
-
int yesno(int def)
{
return fyesno(stdin, def);
diff --git a/lib/lib.h b/lib/lib.h
index 1ba59ee3..431ce5ad 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -255,7 +255,6 @@ void delete_tempfile(int fdin, int fdout, char **tempname);
void replace_tempfile(int fdin, int fdout, char **tempname);
void crc_init(unsigned int *crc_table, int little_endian);
void base64_init(char *p);
-void base32_init(char *p);
int yesno(int def);
int fyesno(FILE *fp, int def);
int qstrcmp(const void *a, const void *b);