From 8c541e4b5feadcac7f02bdff9e5635975440ac74 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 16 Dec 2016 17:34:47 +1300 Subject: Move constants into header file --- crypt.c | 3 --- crypt.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crypt.c b/crypt.c index 8b810c2..e00df6a 100644 --- a/crypt.c +++ b/crypt.c @@ -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). diff --git a/crypt.h b/crypt.h index b3514b5..2b8145d 100644 --- a/crypt.h +++ b/crypt.h @@ -4,3 +4,5 @@ #include #include +#define OPTSTRING "h" +#define USAGE "USAGE: crypt KEY SALT" -- cgit v1.2.3