summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/crypt.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
committerobrien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
commit21d62aab619b3796c765c898c9caaa4179629580 (patch)
tree8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/crypt.c
parent675250e8eb2f1e93e8238f6611a7c3ae8d42d264 (diff)
downloadFreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.zip
FreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.tar.gz
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
Diffstat (limited to 'lib/libc/gen/crypt.c')
-rw-r--r--lib/libc/gen/crypt.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/gen/crypt.c b/lib/libc/gen/crypt.c
index 8012b06..5c05685 100644
--- a/lib/libc/gen/crypt.c
+++ b/lib/libc/gen/crypt.c
@@ -36,8 +36,9 @@
#if defined(LIBC_SCCS) && !defined(lint)
/* from static char sccsid[] = "@(#)crypt.c 5.11 (Berkeley) 6/25/91"; */
-static char rcsid[] = "$FreeBSD$";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <unistd.h>
#include <stdio.h>
@@ -55,7 +56,7 @@ __warn_references(des_setkey,
int
des_setkey(key)
- register const char *key;
+ const char *key;
{
fprintf(stderr, "WARNING! des_setkey(3) not present in the system!\n");
return (0);
@@ -81,7 +82,7 @@ __warn_references(setkey,
int
setkey(key)
- register const char *key;
+ const char *key;
{
fprintf(stderr, "WARNING! setkey(3) not present in the system!\n");
return (0);
@@ -92,7 +93,7 @@ __warn_references(encrypt,
int
encrypt(block, flag)
- register char *block;
+ char *block;
int flag;
{
fprintf(stderr, "WARNING! encrypt(3) not present in the system!\n");
OpenPOWER on IntegriCloud