summaryrefslogtreecommitdiff
path: root/include/rmd160.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-12-23 04:33:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-12-23 04:33:32 +0000
commit240d00ccd27633050d6be0531a777f845b5b5440 (patch)
tree29cb992a046c08dd2cfb239776fcbb1a8c6be710 /include/rmd160.h
parent29b88a9674bfc30b4c7a4401f9169584b56e571a (diff)
o Ansi function headers
o Add __BEGIN_DECLS/__END_DECLS to include files o Safe macros o Remove useless variable assignment in the End function of *hl.c o Some minor KNF, needs more From Dan Weeks
Diffstat (limited to 'include/rmd160.h')
-rw-r--r--include/rmd160.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rmd160.h b/include/rmd160.h
index b950fd7f393..b31b07f6e87 100644
--- a/include/rmd160.h
+++ b/include/rmd160.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmd160.h,v 1.6 2002/02/16 21:27:17 millert Exp $ */
+/* $OpenBSD: rmd160.h,v 1.7 2002/12/23 04:33:31 millert Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
@@ -32,6 +32,9 @@ typedef struct RMD160Context {
u_char buffer[64]; /* input buffer */
} RMD160_CTX;
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
void RMD160Init(RMD160_CTX *);
void RMD160Transform(u_int32_t [5], const u_char [64]);
void RMD160Update(RMD160_CTX *, const u_char *, u_int32_t);
@@ -39,5 +42,6 @@ void RMD160Final(u_char [20], RMD160_CTX *);
char *RMD160End(RMD160_CTX *, char *);
char *RMD160File(char *, char *);
char *RMD160Data(const u_char *, size_t, char *);
+__END_DECLS
#endif /* _RMD160_H */