From c929d179530872cb5f393bc604089e36d66b1841 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Mon, 18 Nov 2013 09:38:57 +0100 Subject: Add ifndefs Finish up with the addition of ifndefs. * device/buf.h: Add ifndef. * device/dev_master.h: Likewise. * include/device/tty_status.h: Likewise. * include/mach/version.h: Likewise. * ipc/ipc_machdep.h: Likewise. --- include/device/tty_status.h | 5 +++++ include/mach/version.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'include') diff --git a/include/device/tty_status.h b/include/device/tty_status.h index 15249a4..2eed5d0 100644 --- a/include/device/tty_status.h +++ b/include/device/tty_status.h @@ -30,6 +30,9 @@ * Status information for tty. */ +#ifndef _DEVICE_TTY_STATUS_H_ +#define _DEVICE_TTY_STATUS_H_ + struct tty_status { int tt_ispeed; /* input speed */ int tt_ospeed; /* output speed */ @@ -127,3 +130,5 @@ struct tty_status { /* clear break condition */ #define TTY_SET_TRANSLATION (dev_flavor_t)(('t'<<16) + 8) /* set translation table */ + +#endif /* _DEVICE_TTY_STATUS_H_ */ diff --git a/include/mach/version.h b/include/mach/version.h index ec12ea7..3ef7859 100644 --- a/include/mach/version.h +++ b/include/mach/version.h @@ -43,6 +43,9 @@ * minor 0. */ +#ifndef _MACH_VERSION_H_ +#define _MACH_VERSION_H_ + #define KERNEL_MAJOR_VERSION 4 #define KERNEL_MINOR_VERSION 0 @@ -66,3 +69,5 @@ * excised from the CSD environment. */ #define INCLUDE_VERSION 0 + +#endif /* _MACH_VERSION_H_ */ -- cgit v1.2.3