diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-03-05 18:10:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-03-05 18:10:51 +0000 |
commit | d52342ec8a12df290570337d0627c0ad61a27188 (patch) | |
tree | 35be4158d706bec8f333eac6da703bbf2a2a3829 /c/src/lib/libcpu | |
parent | 2004-03-05 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-d52342ec8a12df290570337d0627c0ad61a27188.tar.bz2 |
2004-03-05 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/mmu/pte121.c: Add missing ifdef DEBUG to remove warning for
unused static routine.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r-- | c/src/lib/libcpu/powerpc/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog index c8a8e17400..de7278e39d 100644 --- a/c/src/lib/libcpu/powerpc/ChangeLog +++ b/c/src/lib/libcpu/powerpc/ChangeLog @@ -1,3 +1,8 @@ +2004-03-05 Joel Sherrill <joel@OARcorp.com> + + * mpc6xx/mmu/pte121.c: Add missing ifdef DEBUG to remove warning for + unused static routine. + 2004-02-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * mpc505/Makefile.am: Fix typo. diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c index 5d25a1ac17..37d2eb2891 100644 --- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c +++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c @@ -125,6 +125,7 @@ /* Horrible Macros */ +#ifdef DEBUG #ifdef __rtems__ /* must not use printf until multitasking is up */ typedef void (*PrintF)(char *,...); @@ -139,6 +140,7 @@ static PrintF whatPrintf(void) #else #define PRINTF(args...) printf(args) #endif +#endif #ifdef DEBUG unsigned long |