aboutsummaryrefslogtreecommitdiff
path: root/crypt.c
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-01-20 23:45:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2020-01-20 23:45:25 +1300
commit0aa5c9ce4a0cbb257bfe176ff6ff73df21fca20b (patch)
treef61af28328ca74e489de6bbf20d85e135e2173f4 /crypt.c
parentMerge branch 'release/v1.2.0' into develop (diff)
downloadcrypt-0aa5c9ce4a0cbb257bfe176ff6ff73df21fca20b.tar.gz
crypt-0aa5c9ce4a0cbb257bfe176ff6ff73df21fca20b.zip
Realised there was no need for a separate header
Diffstat (limited to 'crypt.c')
-rw-r--r--crypt.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/crypt.c b/crypt.c
index 7ba42ef..4c9f0fb 100644
--- a/crypt.c
+++ b/crypt.c
@@ -1,4 +1,12 @@
-#include "crypt.h"
+#define _XOPEN_SOURCE
+#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h> /* strerror(3) */
+#include <unistd.h> /* crypt(3) */
+
+void error(char *);
+void usage(FILE *, int);
int main (int argc, char **argv)
{