Clean a bunch of -Wall warnings.

This commit is contained in:
Poul-Henning Kamp 1995-02-24 08:51:34 +00:00
parent 12eaa3d55d
commit 6c20486de4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6684
5 changed files with 8 additions and 4 deletions

View File

@ -21,6 +21,7 @@
*/
#include "md2.h"
#include <string.h>
typedef unsigned char *POINTER;

View File

@ -24,6 +24,7 @@
*/
#include "md4.h"
#include <string.h>
typedef unsigned char *POINTER;
typedef unsigned short int UINT2;

View File

@ -25,6 +25,7 @@ documentation and/or software.
*/
#include "md5.h"
#include <string.h>
typedef unsigned char *POINTER;
typedef unsigned short int UINT2;

View File

@ -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);

View File

@ -25,6 +25,7 @@ documentation and/or software.
*/
#include "md5.h"
#include <string.h>
typedef unsigned char *POINTER;
typedef unsigned short int UINT2;