summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-09-07 07:47:08 +0000
committerpst <pst@FreeBSD.org>1994-09-07 07:47:08 +0000
commit5787daa8ba8e7941bcab72205ede819402679d50 (patch)
tree227d6aec28fba1fa710ea44cc9635fc4f0c1bfcf /secure/lib
parentc7db8bc4671443b89855eb708adea638184c50b6 (diff)
downloadFreeBSD-src-5787daa8ba8e7941bcab72205ede819402679d50.zip
FreeBSD-src-5787daa8ba8e7941bcab72205ede819402679d50.tar.gz
Back out static hacks & build of usr.bin until Geoff informs the
world of his master plan. Submitted by: pst
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libcrypt/crypt-des.c6
-rw-r--r--secure/lib/libcrypt/crypt.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/secure/lib/libcrypt/crypt-des.c b/secure/lib/libcrypt/crypt-des.c
index 22f665c..6d22506 100644
--- a/secure/lib/libcrypt/crypt-des.c
+++ b/secure/lib/libcrypt/crypt-des.c
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: crypt.c,v 1.2 1994/08/08 17:28:52 csgr Exp $
+ * $Id: crypt.c,v 1.3 1994/09/07 07:16:44 pst Exp $
*
* This is an original implementation of the DES and the crypt(3) interfaces
* by David Burren <davidb@werj.com.au>.
@@ -362,7 +362,7 @@ setup_salt(long salt)
}
}
-int
+static int
des_setkey(const char *key)
{
u_long k0, k1, rawkey0, rawkey1;
@@ -559,7 +559,7 @@ do_des( u_long l_in, u_long r_in, u_long *l_out, u_long *r_out, int count)
return(0);
}
-int
+static int
des_cipher(const char *in, char *out, long salt, int count)
{
u_long l_out, r_out, rawl, rawr;
diff --git a/secure/lib/libcrypt/crypt.c b/secure/lib/libcrypt/crypt.c
index 22f665c..6d22506 100644
--- a/secure/lib/libcrypt/crypt.c
+++ b/secure/lib/libcrypt/crypt.c
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: crypt.c,v 1.2 1994/08/08 17:28:52 csgr Exp $
+ * $Id: crypt.c,v 1.3 1994/09/07 07:16:44 pst Exp $
*
* This is an original implementation of the DES and the crypt(3) interfaces
* by David Burren <davidb@werj.com.au>.
@@ -362,7 +362,7 @@ setup_salt(long salt)
}
}
-int
+static int
des_setkey(const char *key)
{
u_long k0, k1, rawkey0, rawkey1;
@@ -559,7 +559,7 @@ do_des( u_long l_in, u_long r_in, u_long *l_out, u_long *r_out, int count)
return(0);
}
-int
+static int
des_cipher(const char *in, char *out, long salt, int count)
{
u_long l_out, r_out, rawl, rawr;
OpenPOWER on IntegriCloud