diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-16 17:34:47 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-16 17:34:47 +1300 |
commit | 8c541e4b5feadcac7f02bdff9e5635975440ac74 (patch) | |
tree | bf5ebb9ab0d2ce0e4e29042fd83eb8265828d265 | |
parent | Remove include guards (diff) | |
download | crypt-8c541e4b5feadcac7f02bdff9e5635975440ac74.tar.gz crypt-8c541e4b5feadcac7f02bdff9e5635975440ac74.zip |
Move constants into header file
-rw-r--r-- | crypt.c | 3 | ||||
-rw-r--r-- | crypt.h | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -1,8 +1,5 @@ #include "crypt.h" -#define OPTSTRING "h" -#define USAGE "USAGE: crypt KEY SALT" - /** * crypt(1) - Simple shell script frontend to crypt(3), because I'm tired of * fighting with mkpasswd(1). @@ -4,3 +4,5 @@ #include <stdlib.h> #include <unistd.h> +#define OPTSTRING "h" +#define USAGE "USAGE: crypt KEY SALT" |