diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-07-09 21:43:20 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-07-09 21:43:20 +0000 |
commit | a5fad2cd2678e04c530ece821c9617d656c5f1b2 (patch) | |
tree | ac2e284c9781d5e3d44dec5745b5102b402b7d78 | |
parent | 59758216a2aeb6615b1e4eaabecc0db229ed33ec (diff) | |
download | pkgsrc-a5fad2cd2678e04c530ece821c9617d656c5f1b2.tar.gz |
Pull in consistent set of headers (<sys/cdefs.h> - BSD-specific too,
but at least it's consistent :)
-rw-r--r-- | pkgtools/digest/files/md5c.c | 4 | ||||
-rw-r--r-- | pkgtools/digest/files/md5hl.c | 6 | ||||
-rw-r--r-- | pkgtools/digest/files/sha1.c | 4 | ||||
-rw-r--r-- | pkgtools/digest/files/sha2.c | 2 |
4 files changed, 12 insertions, 4 deletions
diff --git a/pkgtools/digest/files/md5c.c b/pkgtools/digest/files/md5c.c index 92c64124eeb..dee4f27f144 100644 --- a/pkgtools/digest/files/md5c.c +++ b/pkgtools/digest/files/md5c.c @@ -1,4 +1,4 @@ -/* $NetBSD: md5c.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $ */ +/* $NetBSD: md5c.c,v 1.2 2001/07/09 21:43:20 hubertf Exp $ */ /* * This file is derived from the RSA Data Security, Inc. MD5 Message-Digest @@ -29,6 +29,8 @@ * documentation and/or software. */ +#include <sys/cdefs.h> /* hfpkg */ + #if defined(_KERNEL) || defined(_STANDALONE) #include <lib/libkern/libkern.h> #include <sys/param.h> diff --git a/pkgtools/digest/files/md5hl.c b/pkgtools/digest/files/md5hl.c index 7d4f0d03731..0ebf2a509df 100644 --- a/pkgtools/digest/files/md5hl.c +++ b/pkgtools/digest/files/md5hl.c @@ -1,10 +1,12 @@ -/* $NetBSD: md5hl.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $ */ +/* $NetBSD: md5hl.c,v 1.2 2001/07/09 21:43:21 hubertf Exp $ */ /* * Written by Jason R. Thorpe <thorpej@netbsd.org>, April 29, 1997. * Public domain. */ +#include <sys/cdefs.h> /* hfpkg */ + #define MDALGORITHM MD5 /* #include "namespace.h" */ @@ -14,7 +16,7 @@ #define _DIAGASSERT(cond) assert(cond) #endif -/* $NetBSD: md5hl.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $ */ +/* $NetBSD: md5hl.c,v 1.2 2001/07/09 21:43:21 hubertf Exp $ */ /* * ---------------------------------------------------------------------------- diff --git a/pkgtools/digest/files/sha1.c b/pkgtools/digest/files/sha1.c index d77071c442c..fef58b5e205 100644 --- a/pkgtools/digest/files/sha1.c +++ b/pkgtools/digest/files/sha1.c @@ -1,4 +1,4 @@ -/* $NetBSD: sha1.c,v 1.3 2001/03/26 12:57:32 agc Exp $ */ +/* $NetBSD: sha1.c,v 1.4 2001/07/09 21:43:21 hubertf Exp $ */ /* $OpenBSD: sha1.c,v 1.9 1997/07/23 21:12:32 kstailey Exp $ */ /* @@ -15,6 +15,8 @@ * 34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F */ +#include <sys/cdefs.h> /* hfpkg */ + #define SHA1HANDSOFF /* Copies data before messing with it. */ #if defined(_KERNEL) || defined(_STANDALONE) diff --git a/pkgtools/digest/files/sha2.c b/pkgtools/digest/files/sha2.c index 0e01b275fff..7d13002d0fa 100644 --- a/pkgtools/digest/files/sha2.c +++ b/pkgtools/digest/files/sha2.c @@ -34,6 +34,8 @@ */ +#include <sys/cdefs.h> /* hfpkg */ + #include <stdio.h> #include <string.h> /* memcpy()/memset() or bcopy()/bzero() */ #include <assert.h> /* assert() */ |