aboutsummaryrefslogtreecommitdiff
path: root/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypt.h')
-rw-r--r--crypt.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/crypt.h b/crypt.h
index 2b8145d..6612e01 100644
--- a/crypt.h
+++ b/crypt.h
@@ -1,8 +1,9 @@
#define _XOPEN_SOURCE
-#include <ctype.h>
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
+#include <string.h> /* strerror(3) */
+#include <unistd.h> /* crypt(3) */
-#define OPTSTRING "h"
-#define USAGE "USAGE: crypt KEY SALT"
+void usage(FILE *, int);
+void error(char *);