diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-01-16 18:43:51 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-01-16 18:43:51 +1300 |
commit | e96fb7137fb2fea83a9d3eee31d37fc3dd00af82 (patch) | |
tree | edcaae8caa652f8e0f1dee6322831c27cadca947 /crypt.c | |
parent | Refactor Makefile (diff) | |
download | crypt-e96fb7137fb2fea83a9d3eee31d37fc3dd00af82.tar.gz crypt-e96fb7137fb2fea83a9d3eee31d37fc3dd00af82.zip |
Use consistent layout for function braces
Diffstat (limited to 'crypt.c')
-rw-r--r-- | crypt.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -42,7 +42,8 @@ int main (int argc, char **argv) /* * Show usage to given stream, and exit with given code */ -void usage(FILE *stream, int status) { +void usage(FILE *stream, int status) +{ fputs("USAGE: crypt [-h | KEY SALT]\n", stream); exit(status); } @@ -50,7 +51,8 @@ void usage(FILE *stream, int status) { /* * Exit with error error message */ -void error(char *message) { +void error(char *message) +{ fprintf(stderr, "%s\n", message); exit(EXIT_FAILURE); } |