summaryrefslogtreecommitdiff
path: root/missing/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'missing/crypt.h')
-rw-r--r--missing/crypt.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/missing/crypt.h b/missing/crypt.h
index 7a78767931..ff135eee93 100644
--- a/missing/crypt.h
+++ b/missing/crypt.h
@@ -1,3 +1,5 @@
+#ifndef CRYPT_H
+#define CRYPT_H 1
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -30,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef CRYPT_H
-#define CRYPT_H 1
-
/* ===== Configuration ==================== */
#ifdef CHAR_BITS
@@ -237,8 +236,6 @@ struct crypt_data {
char cryptresult[1+4+4+11+1]; /* encrypted result */
};
-#define SIZEOF_CRYPT_DATA (KS_SIZE*8+(1+4+4+11+1))
-
char *crypt(const char *key, const char *setting);
void setkey(const char *key);
void encrypt(char *block, int flag);