diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-02-05 21:05:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-02-05 21:05:51 +0000 |
commit | 0fe63531c14236e1c0188b7fd1b3ffdc383d95bc (patch) | |
tree | f8ef1a8530d98f8ab3a6025f052eb29cff500550 /src/arlib2.c | |
parent | aa915fd3d70b4cbe4581f9ec170d986c6ba35063 (diff) | |
download | elfutils-0fe63531c14236e1c0188b7fd1b3ffdc383d95bc.tar.gz |
Make symtab a global variable in arlib.c.
Diffstat (limited to 'src/arlib2.c')
-rw-r--r-- | src/arlib2.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/arlib2.c b/src/arlib2.c index cb1e1db3..47edb356 100644 --- a/src/arlib2.c +++ b/src/arlib2.c @@ -39,13 +39,12 @@ /* Add long file name FILENAME of length FILENAMELEN to the symbol table SYMTAB. Return the offset into the long file name table. */ long int -arlib_add_long_name (struct arlib_symtab *symtab, const char *filename, - size_t filenamelen) +arlib_add_long_name (const char *filename, size_t filenamelen) { - int retval = obstack_object_size (&symtab->longnamesob); + int retval = obstack_object_size (&symtab.longnamesob); - obstack_grow (&symtab->longnamesob, filename, filenamelen); - obstack_grow (&symtab->longnamesob, "/\n", 2); + obstack_grow (&symtab.longnamesob, filename, filenamelen); + obstack_grow (&symtab.longnamesob, "/\n", 2); return retval; } |