From d52342ec8a12df290570337d0627c0ad61a27188 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 5 Mar 2004 18:10:51 +0000 Subject: 2004-03-05 Joel Sherrill * mpc6xx/mmu/pte121.c: Add missing ifdef DEBUG to remove warning for unused static routine. --- c/src/lib/libcpu/powerpc/ChangeLog | 5 +++++ c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'c') 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 + + * mpc6xx/mmu/pte121.c: Add missing ifdef DEBUG to remove warning for + unused static routine. + 2004-02-17 Ralf Corsepius * 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 -- cgit v1.2.3