summaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-20 05:21:41 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-20 05:21:41 +0000
commit3927afe00736d112235414ba26efbb13f2830057 (patch)
tree89910945dd096ed9ce8332b32730542c69fd2051 /gcc/ggc-common.c
parent883b2e736539f4112f9ebb1a4528db015b217672 (diff)
downloadgcc-3927afe00736d112235414ba26efbb13f2830057.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79730 138bc75d-0d04-0410-961f-82ee72b054a4
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 d8a803979c7..4939cb69888 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);