diff options
author | bde <bde@FreeBSD.org> | 1996-10-25 06:48:29 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-25 06:48:29 +0000 |
commit | 842a7446a3df53532d5412e7829b8b07c0dc748c (patch) | |
tree | eb5dbb1e0b4b66d261e454dfb14d3330b74d99e4 | |
parent | 28991fe36a25a40095d69a1ac9e2a2c9a3894bba (diff) | |
download | FreeBSD-src-842a7446a3df53532d5412e7829b8b07c0dc748c.zip FreeBSD-src-842a7446a3df53532d5412e7829b8b07c0dc748c.tar.gz |
Moved #include of <sys/types.h> earlier so that this compiles when
<stdio.h> doesn't (bogusly) include <sys/types.h>.
Cleaned up #includes.
-rw-r--r-- | lib/libmd/mdXhl.c | 15 | ||||
-rw-r--r-- | sbin/md5/md5.c | 9 |
2 files changed, 14 insertions, 10 deletions
diff --git a/lib/libmd/mdXhl.c b/lib/libmd/mdXhl.c index ffab03a..913e290 100644 --- a/lib/libmd/mdXhl.c +++ b/lib/libmd/mdXhl.c @@ -6,19 +6,20 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: mdXhl.c,v 1.6 1995/07/12 09:13:47 phk Exp $ + * $Id: mdXhl.c,v 1.7 1996/07/24 20:55:38 phk Exp $ * */ -#include <stdlib.h> -#include <stdio.h> -#include <errno.h> -#include "mdX.h" -#include <sys/file.h> #include <sys/types.h> -#include <sys/uio.h> +#include <fcntl.h> #include <unistd.h> +#include <errno.h> +#include <stdio.h> +#include <stdlib.h> + +#include "mdX.h" + char * MDXEnd(MDX_CTX *ctx, char *buf) { diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c index 8c9ecfb..e3e5986 100644 --- a/sbin/md5/md5.c +++ b/sbin/md5/md5.c @@ -1,5 +1,5 @@ /* - * $Id: md5.c,v 1.5 1995/05/30 06:09:19 rgrimes Exp $ + * $Id: md5.c,v 1.6 1995/07/12 09:14:46 phk Exp $ * * Derived from: */ @@ -21,11 +21,14 @@ * documentation and/or software. */ +#include <sys/types.h> +#include <md5.h> + #include <stdio.h> -#include <time.h> #include <string.h> +#include <time.h> + #include "global.h" -#include <md5.h> /* * Length of test block, number of test blocks. |