projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a spelling mistake in the binutils documentation.
[deliverable/binutils-gdb.git]
/
gas
/
hash.c
diff --git
a/gas/hash.c
b/gas/hash.c
index a58c9489b6abd0b3f3b48057d4f549ec9bf28996..c484588606611ebf27d26e17ae0605f8d4cc190e 100644
(file)
--- a/
gas/hash.c
+++ b/
gas/hash.c
@@
-1,7
+1,5
@@
/* hash.c -- gas hash table code
/* hash.c -- gas hash table code
- Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,
- 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2009, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 1987-2020 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
This file is part of GAS, the GNU Assembler.
@@
-83,13
+81,13
@@
set_gas_hash_table_size (unsigned long size)
/* Create a hash table. This return a control block. */
/* Create a hash table. This return a control block. */
-st
atic st
ruct hash_control *
+struct hash_control *
hash_new_sized (unsigned long size)
{
unsigned long alloc;
struct hash_control *ret;
hash_new_sized (unsigned long size)
{
unsigned long alloc;
struct hash_control *ret;
- ret =
(struct hash_control *) xmalloc (sizeof *ret
);
+ ret =
XNEW (struct hash_control
);
obstack_begin (&ret->memory, chunksize);
alloc = size * sizeof (struct hash_entry *);
ret->table = (struct hash_entry **) obstack_alloc (&ret->memory, alloc);
obstack_begin (&ret->memory, chunksize);
alloc = size * sizeof (struct hash_entry *);
ret->table = (struct hash_entry **) obstack_alloc (&ret->memory, alloc);
This page took
0.024281 seconds
and
4
git commands to generate.