diff options
author | Rob Landley <rob@landley.net> | 2021-01-15 02:42:02 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-01-15 02:42:02 -0600 |
commit | af50278fc92ce5846d727eaa2b66b85063f53cae (patch) | |
tree | 87c8295c3a9c5d4b8e2dbd41cf2655d913b252a3 /lib | |
parent | b3910f4871f05ed3c90dab7aa7e9cc25abae2c91 (diff) | |
download | toybox-af50278fc92ce5846d727eaa2b66b85063f53cae.tar.gz |
Cleanup base32 slightly.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib.c | 12 | ||||
-rw-r--r-- | lib/lib.h | 1 |
2 files changed, 0 insertions, 13 deletions
@@ -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); @@ -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); |