diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-04-26 20:22:27 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-04-26 20:22:27 +0000 |
commit | a7c20ac7601ab6f5342c1fac4b696b9132fd0d5b (patch) | |
tree | 0f6cfd1e5821e3350765cff038f5a1faf10c3971 /firmware/test/i2c/main.c | |
parent | 171b5ff207179d1cc88cdd268ba5565535c43fbd (diff) | |
download | rockbox-a7c20ac7601ab6f5342c1fac4b696b9132fd0d5b.tar.gz rockbox-a7c20ac7601ab6f5342c1fac4b696b9132fd0d5b.zip |
Replaced remaining '#pragma interrupt' with __attribute__((interrupt_handler)). It's cleaner this way, and fixes sh-elf-gcc 3.4.x builds with -Os or -O2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9816 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test/i2c/main.c')
-rw-r--r-- | firmware/test/i2c/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/test/i2c/main.c b/firmware/test/i2c/main.c index 4419dde171..88aa9151d6 100644 --- a/firmware/test/i2c/main.c +++ b/firmware/test/i2c/main.c | |||
@@ -766,7 +766,7 @@ int main(void) | |||
766 | 766 | ||
767 | 767 | ||
768 | 768 | ||
769 | #pragma interrupt | 769 | void IRQ6(void) __attribute__((interrupt_handler)); |
770 | 770 | ||
771 | void IRQ6(void) | 771 | void IRQ6(void) |
772 | 772 | ||
@@ -778,7 +778,7 @@ void IRQ6(void) | |||
778 | 778 | ||
779 | 779 | ||
780 | 780 | ||
781 | #pragma interrupt | 781 | void DEI3(void) __attribute__((interrupt_handler)); |
782 | 782 | ||
783 | void DEI3(void) | 783 | void DEI3(void) |
784 | 784 | ||
@@ -922,7 +922,7 @@ static void mas_poll_start(unsigned int interval_in_ms) | |||
922 | 922 | ||
923 | 923 | ||
924 | 924 | ||
925 | #pragma interrupt | 925 | void IMIA1(void) __attribute__((interrupt_handler)); |
926 | 926 | ||
927 | void IMIA1(void) | 927 | void IMIA1(void) |
928 | 928 | ||