Fix header re-inclusion protection defines to a less generic naming

scheme.
This commit is contained in:
reinoud 2006-02-02 15:52:23 +00:00
parent 3d5d61e01c
commit 14ab2cc9e6
4 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf.h,v 1.2 2006/02/02 15:38:35 reinoud Exp $ */
/* $NetBSD: udf.h,v 1.3 2006/02/02 15:52:23 reinoud Exp $ */
/*
* Copyright (c) 2006 Reinoud Zandijk
@ -42,8 +42,8 @@
#include <sys/cdio.h>
#include <miscfs/genfs/genfs_node.h>
#ifndef _UDF_H_
#define _UDF_H_
#ifndef _FS_UDF_UDF_H_
#define _FS_UDF_UDF_H_
/* TODO make `udf_verbose' set by sysctl */
@ -249,5 +249,5 @@ struct udf_node {
STAILQ_ENTRY(udf_node) dirty_nodes; /* dirty udf nodes */
};
#endif /* !_UDF_H_ */
#endif /* !_FS_UDF_UDF_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_bswap.h,v 1.1 2006/02/02 15:19:15 reinoud Exp $ */
/* $NetBSD: udf_bswap.h,v 1.2 2006/02/02 15:52:23 reinoud Exp $ */
/*
* Copyright (c) 1998 Manuel Bouyer.
@ -34,8 +34,8 @@
*
*/
#ifndef _UDF_BSWAP_H_
#define _UDF_BSWAP_H_
#ifndef _FS_UDF_UDF_BSWAP_H_
#define _FS_UDF_UDF_BSWAP_H_
#if HAVE_ENDIAN_H
#include <endian.h>
@ -93,5 +93,5 @@ udf_rw64(a)
#endif
#endif /* !_UDF_BSWAP_H_ */
#endif /* !_FS_UDF_UDF_BSWAP_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_mount.h,v 1.2 2006/02/02 15:38:35 reinoud Exp $ */
/* $NetBSD: udf_mount.h,v 1.3 2006/02/02 15:52:23 reinoud Exp $ */
/*
* Copyright (c) 2006 Reinoud Zandijk
@ -34,8 +34,8 @@
*/
#ifndef _UDF_MOUNT_H_
#define _UDF_MOUNT_H_
#ifndef _FS_UDF_UDF_MOUNT_H_
#define _FS_UDF_UDF_MOUNT_H_
/*
* Arguments to mount UDF filingsystem.
@ -66,5 +66,5 @@ struct udf_args {
#define UDFMNT_CLOSESESSION 0x00000001 /* close session on dismount */
#define UDFMNT_BITS "\20\1CLOSESESSION"
#endif /* !_UDF_MOUNT_H_ */
#endif /* !_FS_UDF_UDF_MOUNT_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_subr.h,v 1.2 2006/02/02 15:38:35 reinoud Exp $ */
/* $NetBSD: udf_subr.h,v 1.3 2006/02/02 15:52:23 reinoud Exp $ */
/*
* Copyright (c) 2006 Reinoud Zandijk
@ -34,8 +34,8 @@
*/
#ifndef _UDF_SUBR_H_
#define _UDF_SUBR_H_
#ifndef _FS_UDF_UDF_SUBR_H_
#define _FS_UDF_UDF_SUBR_H_
/* device information updating */
int udf_update_trackinfo(struct udf_mount *ump, struct mmc_trackinfo *trackinfo);
@ -113,5 +113,5 @@ long udf_calchash(struct long_ad *icbptr); /* for `inode' numbering */
uint32_t udf_getaccessmode(struct udf_node *node);
void udf_timestamp_to_timespec(struct udf_mount *ump, struct timestamp *timestamp, struct timespec *timespec);
#endif /* !_UDF_SUBR_H_ */
#endif /* !_FS_UDF_UDF_SUBR_H_ */