diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-11 21:05:48 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-11 21:05:48 +0000 |
commit | 07b1fac17bb769f1f10f9a7e71375afd71b48f85 (patch) | |
tree | 4864e391f3a45fef523f8764bde820a7c770876f /sys/lib | |
parent | 51c3906e90162dee86c241698e966d8dba45c864 (diff) |
make -Wstrict-prototypes happy
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libkern/md5.c | 5 | ||||
-rw-r--r-- | sys/lib/libkern/random.c | 2 | ||||
-rw-r--r-- | sys/lib/libkern/srandom.c | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/sys/lib/libkern/md5.c b/sys/lib/libkern/md5.c index 2caf104e410..02e54f8b338 100644 --- a/sys/lib/libkern/md5.c +++ b/sys/lib/libkern/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.2 1996/04/24 05:28:26 mickey Exp $ */ +/* $OpenBSD: md5.c,v 1.3 1996/08/11 21:05:46 niklas Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff. @@ -44,7 +44,8 @@ #include <sys/param.h> #include <sys/types.h> -#include <sys/kernel.h> + +#include <lib/libkern/libkern.h> /* * MD5 transform algorithm, taken from code written by Colin Plumb, diff --git a/sys/lib/libkern/random.c b/sys/lib/libkern/random.c index 970cbf4bc6c..7fef7c27bb2 100644 --- a/sys/lib/libkern/random.c +++ b/sys/lib/libkern/random.c @@ -37,6 +37,8 @@ #include <sys/types.h> +#include <lib/libkern/libkern.h> + /* * Pseudo-random number generator for randomizing the profiling clock, * and whatever else we might use it for. The result is uniform on diff --git a/sys/lib/libkern/srandom.c b/sys/lib/libkern/srandom.c index 3a88b00fe1d..d1d6ba535dc 100644 --- a/sys/lib/libkern/srandom.c +++ b/sys/lib/libkern/srandom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: srandom.c,v 1.1 1996/08/10 21:41:16 deraadt Exp $ */ +/* $OpenBSD: srandom.c,v 1.2 1996/08/11 21:05:47 niklas Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -37,6 +37,8 @@ #include <sys/types.h> +#include <lib/libkern/libkern.h> + extern u_long _randseed; void |