aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-03-20 05:21:41 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-03-20 05:21:41 +0000
commitd1a6adeb6743311f37affcce0a15df6f77a325a5 (patch)
tree89910945dd096ed9ce8332b32730542c69fd2051 /gcc/ggc-common.c
parent5fd9b17875e5e720108ed599b262ad9464576956 (diff)
downloadgcc-d1a6adeb6743311f37affcce0a15df6f77a325a5.zip
gcc-d1a6adeb6743311f37affcce0a15df6f77a325a5.tar.gz
gcc-d1a6adeb6743311f37affcce0a15df6f77a325a5.tar.bz2
c-common.c, [...]: Fix comment typos.
* c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c, expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c, reorg.c, tree.h: Fix comment typos. From-SVN: r79730
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r--gcc/ggc-common.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index d8a8039..4939cb6 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -615,7 +615,7 @@ default_gt_pch_use_address (void *base, size_t size, int fd ATTRIBUTE_UNUSED,
#if HAVE_MMAP_FILE
/* Default version of HOST_HOOKS_GT_PCH_GET_ADDRESS when mmap is present.
We temporarily allocate SIZE bytes, and let the kernel place the data
- whereever it will. If it worked, that's our spot, if not we're likely
+ wherever it will. If it worked, that's our spot, if not we're likely
to be in trouble. */
void *
@@ -793,9 +793,10 @@ loc_descriptor (const char *name, int line, const char *function)
return *slot;
}
-/* Record ALLOCATED and OVERHEAD bytes to descritor NAME:LINE (FUNCTION). */
-void ggc_record_overhead (size_t allocated, size_t overhead,
- const char *name, int line, const char *function)
+/* Record ALLOCATED and OVERHEAD bytes to descriptor NAME:LINE (FUNCTION). */
+void
+ggc_record_overhead (size_t allocated, size_t overhead,
+ const char *name, int line, const char *function)
{
struct loc_descriptor *loc = loc_descriptor (name, line, function);