diff options
author | nate <nate@FreeBSD.org> | 1995-03-08 18:05:50 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1995-03-08 18:05:50 +0000 |
commit | 6a7b9a8a9f73b62926a47ad0887d1c190fa13945 (patch) | |
tree | 24bbfe06929035481e2eb4820de0f19c17209e41 /usr.bin/passwd | |
parent | 82f9d23eb5277a4f7f1a5ffa77125e4f162ca5b9 (diff) | |
download | FreeBSD-src-6a7b9a8a9f73b62926a47ad0887d1c190fa13945.zip FreeBSD-src-6a7b9a8a9f73b62926a47ad0887d1c190fa13945.tar.gz |
Removed redundant function to64() which also exists in local_passwd.c
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r-- | usr.bin/passwd/yp_passwd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/usr.bin/passwd/yp_passwd.c b/usr.bin/passwd/yp_passwd.c index b596e75..c0941b9 100644 --- a/usr.bin/passwd/yp_passwd.c +++ b/usr.bin/passwd/yp_passwd.c @@ -50,19 +50,8 @@ uid_t uid; static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; -void to64(char *, long int, int); char *getnewyppasswd(struct passwd *); -void -to64(char *s, long int v, int n) -{ - while (--n >= 0) - { - *s++ = itoa64[v&0x3f]; - v >>= 6; - } -} - char * getnewyppasswd(register struct passwd *pw) { |