diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-02-24 08:51:34 +0000 | 
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-02-24 08:51:34 +0000 | 
| commit | 6c20486de431a94a26f018f34e0485b3e0705b10 (patch) | |
| tree | 1da5c69ee18b64e7a3a9454f9470ff1c8de85104 /lib/libmd/mdXhl.c | |
| parent | 12eaa3d55dfe840a2f7637e98f7b3a6be9867887 (diff) | |
Notes
Diffstat (limited to 'lib/libmd/mdXhl.c')
| -rw-r--r-- | lib/libmd/mdXhl.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libmd/mdXhl.c b/lib/libmd/mdXhl.c index dafaec5c3382..76152cad06e6 100644 --- a/lib/libmd/mdXhl.c +++ b/lib/libmd/mdXhl.c @@ -1,5 +1,4 @@  /* mdXhl.c -/*   * ----------------------------------------------------------------------------   * "THE BEER-WARE LICENSE" (Revision 42):   * <phk@login.dkuug.dk> wrote this file.  As long as you retain this notice you @@ -16,6 +15,9 @@  #include <errno.h>  #include "mdX.h"  #include <sys/file.h> +#include <sys/types.h> +#include <sys/uio.h> +#include <unistd.h>  char *  MDXEnd(MDX_CTX *ctx) @@ -38,9 +40,8 @@ MDXEnd(MDX_CTX *ctx)  char *  MDXFile (char *filename)  { -    unsigned char digest[16],buffer[BUFSIZ]; +    unsigned char buffer[BUFSIZ];      MDX_CTX ctx; -    char *p;      int f,i,j;      MDXInit(&ctx); @@ -59,7 +60,6 @@ MDXFile (char *filename)  char *  MDXData (const unsigned char *data, unsigned int len)  { -    unsigned char digest[16];      MDX_CTX ctx;      MDXInit(&ctx);  | 
