Date: Sun, 13 Oct 1996 20:18:26 PDT From: Craig Leres <leres@ee.lbl.gov> To: bugs@freebsd.org Subject: FreeBSD bug report (lib/libcrypt/crypt.c) Message-ID: <199610140318.UAA11828@hot.ee.lbl.gov>
next in thread | raw e-mail | index | archive | help
Some minor gcc/lint. Craig ------ RCS file: RCS/crypt.c,v retrieving revision 1.1 diff -c -r1.1 crypt.c *** crypt.c 1996/10/14 03:09:53 1.1 --- crypt.c 1996/10/14 03:11:32 *************** *** 6,25 **** * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * ! * $Id: crypt.c,v 1.1 1996/10/14 03:09:53 leres Exp $ * */ #if defined(LIBC_SCCS) && !defined(lint) ! static char rcsid[] = "$Header: /usr/src/lib/libcrypt/RCS/crypt.c,v 1.1 1996/10/14 03:09:53 leres Exp $"; #endif /* LIBC_SCCS and not lint */ #include <unistd.h> #include <stdio.h> #include <md5.h> static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; static void to64(s, v, n) --- 6,28 ---- * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * ! * $Id: crypt.c,v 1.2 1996/10/14 03:11:31 leres Exp $ * */ #if defined(LIBC_SCCS) && !defined(lint) ! static char rcsid[] = "$Header: /usr/src/lib/libcrypt/RCS/crypt.c,v 1.2 1996/10/14 03:11:31 leres Exp $"; #endif /* LIBC_SCCS and not lint */ #include <unistd.h> #include <stdio.h> #include <md5.h> + #include <string.h> static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; + + static void to64 __P((char *, unsigned long, int)); static void to64(s, v, n)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610140318.UAA11828>