From 047907bbfa110458715956c7f72dec5231705bbc Mon Sep 17 00:00:00 2001 From: kvigor Date: Tue, 26 Jun 2001 22:38:49 +0000 Subject: [PATCH] header file cleanups for new preprocessor git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@955 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/include/8051.h | 2 +- device/include/8052.h | 2 +- device/include/ds80c390.h | 2 +- device/include/stdio.h | 8 +------- device/include/time.h | 2 +- device/include/tinibios.h | 2 +- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/device/include/8051.h b/device/include/8051.h index fb8c588f..4b6711ef 100755 --- a/device/include/8051.h +++ b/device/include/8051.h @@ -172,4 +172,4 @@ sbit at 0xD7 CY ; #define TF1_VECTOR 3 /* 0x1b timer 1 */ #define SI0_VECTOR 4 /* 0x23 serial port 0 */ -#endif \ No newline at end of file +#endif diff --git a/device/include/8052.h b/device/include/8052.h index cefe2ef7..cc23e607 100755 --- a/device/include/8052.h +++ b/device/include/8052.h @@ -64,4 +64,4 @@ sbit at 0xCD RCLK ; sbit at 0xCE EXF2 ; sbit at 0xCF TF2 ; -#endif \ No newline at end of file +#endif diff --git a/device/include/ds80c390.h b/device/include/ds80c390.h index b8cad5c0..3ff24aa4 100755 --- a/device/include/ds80c390.h +++ b/device/include/ds80c390.h @@ -179,4 +179,4 @@ sfr at 0xf8 EIP; // extended interrupt priority sbit at 0xfe C0IP; sbit at 0xff CANBIP; -#endif DS80C390_H +#endif /* DS80C390_H */ diff --git a/device/include/stdio.h b/device/include/stdio.h index 8f96752c..a52815e0 100644 --- a/device/include/stdio.h +++ b/device/include/stdio.h @@ -41,10 +41,4 @@ extern char *gets(char *); extern char getchar(void); extern void putchar(char); -#endif __SDC51_STDIO_H - - - - - - +#endif /* __SDC51_STDIO_H */ diff --git a/device/include/time.h b/device/include/time.h index 8cb2daf4..5f4e8854 100755 --- a/device/include/time.h +++ b/device/include/time.h @@ -40,4 +40,4 @@ time_t mktime(struct tm *timeptr); char *asctime(struct tm *timeptr); char *ctime(time_t *timep); -#endif TIME_H +#endif /* TIME_H */ diff --git a/device/include/tinibios.h b/device/include/tinibios.h index e52c7fe7..20168809 100755 --- a/device/include/tinibios.h +++ b/device/include/tinibios.h @@ -96,4 +96,4 @@ void Serial1IrqHandler (void) interrupt 7; void ClockInit(); void ClockIrqHandler (void) interrupt 1 _naked; -#endif TINIBIOS_H +#endif /* TINIBIOS_H */ -- 2.30.2