aboutsummaryrefslogtreecommitdiff
path: root/crypt.c
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-01-20 23:48:14 +1300
committerTom Ryder <tom@sanctum.geek.nz>2020-01-20 23:48:14 +1300
commit8b570274d4cec0984801a12b8c8eb9b19644fbd8 (patch)
tree7e0bd2ebdbd96c67e8538976d36da711a27c36ab /crypt.c
parentMerge branch 'release/v1.2.0' (diff)
parentBump VERSION (diff)
downloadcrypt-8b570274d4cec0984801a12b8c8eb9b19644fbd8.tar.gz
crypt-8b570274d4cec0984801a12b8c8eb9b19644fbd8.zip
Merge branch 'release/v2.0.0'v2.0.0
* release/v2.0.0: 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)
{