From owner-freebsd-bugs Sun Oct 13 20:18:33 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA21537 for bugs-outgoing; Sun, 13 Oct 1996 20:18:33 -0700 (PDT) Received: from hot.ee.lbl.gov (hot.ee.lbl.gov [131.243.1.42]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA21532 for ; Sun, 13 Oct 1996 20:18:30 -0700 (PDT) Received: by hot.ee.lbl.gov (8.7.5/1.43r) id UAA11828; Sun, 13 Oct 1996 20:18:26 -0700 (PDT) Message-Id: <199610140318.UAA11828@hot.ee.lbl.gov> To: bugs@freebsd.org Subject: FreeBSD bug report (lib/libcrypt/crypt.c) Date: Sun, 13 Oct 1996 20:18:26 PDT From: Craig Leres Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 #include #include 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 #include #include + #include static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; + + static void to64 __P((char *, unsigned long, int)); static void to64(s, v, n)