diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-12 00:30:53 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-12 00:30:53 +0000 |
commit | 5f9d28869a1983f9a9b542c1fe80e1f35b899384 (patch) | |
tree | c7093d46e6375c1dfb061955c4b37602c9d425b5 /libobjc | |
parent | 1b796f12d57bcf76f9c5ce96c049986e640e144d (diff) | |
download | gcc-5f9d28869a1983f9a9b542c1fe80e1f35b899384.tar.gz |
* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
printf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38931 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 5 | ||||
-rw-r--r-- | libobjc/sendmsg.c | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index c937f67d7e1..052e3a451d6 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk> + + * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside + printf. + 2000-01-11 Richard Earnshaw <rearnsha@arm.com> * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c index b743829e8f5..a0c8c309226 100644 --- a/libobjc/sendmsg.c +++ b/libobjc/sendmsg.c @@ -1,5 +1,6 @@ /* GNU Objective C Runtime message lookup - Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1993, 1995, 1996, 1997, 1998, + 2001 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GNU CC. @@ -628,13 +629,11 @@ __objc_print_dtable_stats() objc_mutex_lock(__objc_runtime_mutex); - printf("memory usage: (%s)\n", #ifdef OBJC_SPARSE2 - "2-level sparse arrays" + printf("memory usage: (%s)\n", "2-level sparse arrays"); #else - "3-level sparse arrays" + printf("memory usage: (%s)\n", "3-level sparse arrays"); #endif - ); printf("arrays: %d = %ld bytes\n", narrays, (long)narrays*sizeof(struct sarray)); |