summaryrefslogtreecommitdiffstats
path: root/libopkg/md5.h
diff options
context:
space:
mode:
authorCarsten Schoenert <c.schoenert@gmail.com>2013-11-29 14:19:15 (EST)
committer Paul Barker <paul@paulbarker.me.uk>2013-12-17 16:00:36 (EST)
commit6b8be706c08f547d17949f2f72783375bbb8b14c (patch)
tree7e177d6a719577c6823640db457f833304479cb3 /libopkg/md5.h
parentfed9b245150a7faa630f7615302c472b7c68ff3e (diff)
libopkg: cleanup inside the public header files
No functional changes! Just a cleanup like whitespaces, blank lines, tabs and reformating lines longer 76 characters. Also adding the missed comments at the closing bracket from the #ifndef HEADER_FOO_H ... #endif loop. This helps to identify the associated preprocessor elements like theay already exits in some files. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Diffstat (limited to 'libopkg/md5.h')
-rw-r--r--libopkg/md5.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libopkg/md5.h b/libopkg/md5.h
index e89c62e..3e6e652 100644
--- a/libopkg/md5.h
+++ b/libopkg/md5.h
@@ -19,7 +19,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#ifndef _MD5_H
-#define _MD5_H 1
+#define _MD5_H
#include <stdio.h>
#include <stdint.h>
@@ -100,13 +100,11 @@ extern void __md5_process_bytes (const void *buffer, size_t len,
ASCII representation of the message digest. */
extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) __THROW;
-
/* Put result from CTX in first 16 bytes following RESBUF. The result is
always in little endian byte order, so that a byte-wise output yields
to the wanted ASCII representation of the message digest. */
extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) __THROW;
-
/* Compute MD5 message digest for bytes read from STREAM. The
resulting message digest number will be written into the 16 bytes
beginning at RESBLOCK. */
@@ -123,4 +121,4 @@ extern void *__md5_buffer (const char *buffer, size_t len,
}
#endif
-#endif /* md5.h */
+#endif /* MD5_H */