Protect against multiple inclusion.

This commit is contained in:
thorpej 2004-08-23 04:45:18 +00:00
parent b8d3850087
commit 878ac57b19
2 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cgd_crypto.h,v 1.1 2002/10/04 18:22:35 elric Exp $ */
/* $NetBSD: cgd_crypto.h,v 1.2 2004/08/23 04:51:22 thorpej Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -36,6 +36,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _DEV_CGD_CRYPTO_H_
#define _DEV_CGD_CRYPTO_H_
#ifdef _KERNEL
#define CGD_CIPHER_DECRYPT 1
#define CGD_CIPHER_ENCRYPT 2
@ -52,5 +55,6 @@ struct cryptfuncs {
};
struct cryptfuncs *cryptfuncs_find(char *);
#endif /* _KERNEL */
#endif
#endif /* _DEV_CGD_CRYPTO_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cgdvar.h,v 1.2 2004/03/27 23:23:06 elric Exp $ */
/* $NetBSD: cgdvar.h,v 1.3 2004/08/23 04:45:18 thorpej Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -36,6 +36,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _DEV_CGDVAR_H_
#define _DEV_CGDVAR_H_
/* ioctl(2) code */
struct cgd_ioctl {
char *ci_disk;
@ -83,3 +86,5 @@ struct cgd_softc {
/* XXX XAX XXX elric: check these out properly. */
#define CGDIOCSET _IOWR('F', 18, struct cgd_ioctl)
#define CGDIOCCLR _IOW('F', 19, struct cgd_ioctl)
#endif /* _DEV_CGDVAR_H_ */