1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

fs/cd9660: add header include guards

Diff reduction against NetBSD files in sys/fs/cd9660/ and OpenBSD files
in usr.sbin/makefs/cd9660/.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit d33cdf16df)
This commit is contained in:
Ed Maste 2023-03-30 12:49:40 -04:00
parent 1305e8a6d0
commit e0a9723dee
3 changed files with 15 additions and 0 deletions

View File

@ -37,6 +37,9 @@
* $FreeBSD$
*/
#ifndef _ISOFS_CD9660_CD9660_RRIP_H_
#define _ISOFS_CD9660_CD9660_RRIP_H_
typedef struct {
char type [ISODCL ( 0, 1)];
u_char length [ISODCL ( 2, 2)]; /* 711 */
@ -137,3 +140,5 @@ typedef struct {
u_char offset [ISODCL ( 12, 19)];
u_char length [ISODCL ( 20, 27)];
} ISO_RRIP_CONT;
#endif /* _ISOFS_CD9660_CD9660_RRIP_H_ */

View File

@ -37,6 +37,9 @@
* $FreeBSD$
*/
#ifndef _ISOFS_CD9660_ISO_H_
#define _ISOFS_CD9660_ISO_H_
#define ISODCL(from, to) (to - from + 1)
struct iso_volume_descriptor {
@ -365,3 +368,5 @@ isonum_733(const unsigned char *p)
* Associated files have a leading '='.
*/
#define ASSOCCHAR '='
#endif /* _ISOFS_CD9660_ISO_H_ */

View File

@ -37,6 +37,9 @@
* $FreeBSD$
*/
#ifndef _ISOFS_CD9660_ISO_RRIP_H_
#define _ISOFS_CD9660_ISO_RRIP_H_
/*
* Analyze function flag (similar to RR field bits)
*/
@ -83,3 +86,5 @@ int cd9660_rrip_getsymname(struct iso_directory_record *isodir,
int cd9660_rrip_offset(struct iso_directory_record *isodir,
struct iso_mnt *imp);
#endif /* _KERNEL */
#endif /* _ISOFS_CD9660_ISO_RRIP_H_ */