aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arc.h
diff options
context:
space:
mode:
authorIndent <please@skip.me>2015-02-19 02:47:20 -0300
committerdequis <dx@dxzone.com.ar>2015-02-20 19:50:54 -0300
commit5ebff60479fc7a9f7f50ac03b124c91d4e6ebe11 (patch)
tree9fc0d50cb1f4bc9768d9f00de94eafd876bb55b0 /lib/arc.h
parentaf359b4316f9d392c6b752495a1b2ed631576ed8 (diff)
Reindent everything to K&R style with tabs
Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
Diffstat (limited to 'lib/arc.h')
-rw-r--r--lib/arc.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/arc.h b/lib/arc.h
index a58c3490..5edcc65a 100644
--- a/lib/arc.h
+++ b/lib/arc.h
@@ -24,8 +24,7 @@
/* See arc.c for more information. */
-struct arc_state
-{
+struct arc_state {
unsigned char S[256];
unsigned char i, j;
};
@@ -34,7 +33,7 @@ struct arc_state
#define G_GNUC_MALLOC
#endif
-G_GNUC_MALLOC struct arc_state *arc_keymaker( unsigned char *key, int kl, int cycles );
-unsigned char arc_getbyte( struct arc_state *st );
-int arc_encode( char *clear, int clear_len, unsigned char **crypt, char *password, int pad_to );
-int arc_decode( unsigned char *crypt, int crypt_len, char **clear, const char *password );
+G_GNUC_MALLOC struct arc_state *arc_keymaker(unsigned char *key, int kl, int cycles);
+unsigned char arc_getbyte(struct arc_state *st);
+int arc_encode(char *clear, int clear_len, unsigned char **crypt, char *password, int pad_to);
+int arc_decode(unsigned char *crypt, int crypt_len, char **clear, const char *password);