summaryrefslogtreecommitdiffstats
path: root/lib/libmd/md2c.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-03-17 10:00:50 +0000
committerphk <phk@FreeBSD.org>2001-03-17 10:00:50 +0000
commitcf0fcea2b7ae26222f4865e9a6df53972a02f443 (patch)
tree7fe491bdf6b8f8e4c7ca17e38a2e3f0368875806 /lib/libmd/md2c.c
parent670e711dd19510316ecaa1f30d78f16ba66492f6 (diff)
downloadFreeBSD-src-cf0fcea2b7ae26222f4865e9a6df53972a02f443.zip
FreeBSD-src-cf0fcea2b7ae26222f4865e9a6df53972a02f443.tar.gz
Add a new entrypoint to the hashes in libmd:
char * FooFileChunk(const char *filename, char *buf, off_t offset, off_t length) Which only hashes part of a file. Implement FooFile() in terms of this function. Submitted by: roam
Diffstat (limited to 'lib/libmd/md2c.c')
-rw-r--r--lib/libmd/md2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libmd/md2c.c b/lib/libmd/md2c.c
index 97edfbe..8e0b814 100644
--- a/lib/libmd/md2c.c
+++ b/lib/libmd/md2c.c
@@ -20,9 +20,9 @@
documentation and/or software.
*/
-#include "md2.h"
-#include <string.h>
#include <sys/types.h>
+#include <string.h>
+#include "md2.h"
typedef unsigned char *POINTER;
OpenPOWER on IntegriCloud