summaryrefslogtreecommitdiff
path: root/i386/i386at/rtc.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-14 21:04:04 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-15 02:09:56 +0100
commitc19732181e805c31f968779141ce0c434b07b017 (patch)
treee002cb10358b787d8175b97d341ebd3167662291 /i386/i386at/rtc.h
parent5bab8178a1b59c6563dcf87dcc034463d9f0a031 (diff)
i386/i386at: add ifndefs
* i386/i386at/kd_queue.h: Add ifndef. * i386/i386at/kdsoft.h: Likewise. * i386/i386at/lprreg.h: Likewise. * i386/i386at/rtc.h: Likewise.
Diffstat (limited to 'i386/i386at/rtc.h')
-rw-r--r--i386/i386at/rtc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386at/rtc.h b/i386/i386at/rtc.h
index ced39b98..64a528aa 100644
--- a/i386/i386at/rtc.h
+++ b/i386/i386at/rtc.h
@@ -45,6 +45,9 @@ NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef _RTC_H_
+#define _RTC_H_
+
#define RTC_ADDR 0x70 /* I/O port address for register select */
#define RTC_DATA 0x71 /* I/O port address for data read/write */
@@ -136,3 +139,5 @@ struct rtc_st {
extern int readtodc(u_int *tp);
extern int writetodc(void);
+
+#endif /* _RTC_H_ */