Fix warnings, remove unused variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@970 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -41,7 +41,7 @@ LIBOBJ = cbc3_enc.o cbc_enc.o cfb64ede.o cfb64enc.o cfb_enc.o ecb3_enc.o ede_enc
|
||||
all: $(LIB) $(PROGS)
|
||||
|
||||
Wall:
|
||||
make CFLAGS="-g -Wall -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"
|
||||
make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CPPFLAGS) $(DEFS) -I../.. -I../../include -I$(srcdir) $(CFLAGS) $(PICFLAGS) $<
|
||||
|
@@ -47,6 +47,7 @@ RCSID("$Id$");
|
||||
#include <md5.h>
|
||||
#include <sha.h>
|
||||
|
||||
static
|
||||
int
|
||||
md4_tests (void)
|
||||
{
|
||||
@@ -89,6 +90,7 @@ md4_tests (void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static
|
||||
int
|
||||
md5_tests (void)
|
||||
{
|
||||
@@ -123,6 +125,7 @@ md5_tests (void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static
|
||||
int
|
||||
sha_tests (void)
|
||||
{
|
||||
|
@@ -164,9 +164,13 @@ sigALRM(int sig)
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_RANDOM) && defined(HAVE_RAND)
|
||||
#ifndef srandom
|
||||
#define srandom srand
|
||||
#endif
|
||||
#ifndef random
|
||||
#define random rand
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RANDOM
|
||||
|
||||
|
Reference in New Issue
Block a user