summaryrefslogtreecommitdiffstats
path: root/gcc/tlink.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-16 18:33:29 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-16 18:33:29 +0000
commit513b1ebee0ce082584dfe39e551ea6d877e2e7e9 (patch)
treeecdf42cc9ff2588a12f5fadd076ebbb55978d706 /gcc/tlink.c
parent0655e320549f2124bfece08710b2baa738d29185 (diff)
downloadppe42-gcc-513b1ebee0ce082584dfe39e551ea6d877e2e7e9.tar.gz
ppe42-gcc-513b1ebee0ce082584dfe39e551ea6d877e2e7e9.zip
* tlink.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59176 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 4a56d4849b9..b4a724e1946 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -73,8 +73,8 @@ hash_string_eq (s1_p, s2_p)
const void *s1_p;
const void *s2_p;
{
- const char *const *s1 = (const char *const *)s1_p;
- const char *s2 = (const char *)s2_p;
+ const char *const *s1 = (const char *const *) s1_p;
+ const char *s2 = (const char *) s2_p;
return strcmp (*s1, s2) == 0;
}
@@ -82,7 +82,7 @@ static hashval_t
hash_string_hash (s_p)
const void *s_p;
{
- const char *const *s = (const char *const *)s_p;
+ const char *const *s = (const char *const *) s_p;
return (*htab_hash_string) (*s);
}
@@ -120,7 +120,7 @@ symbol_hash_lookup (string, create)
{
PTR *e;
e = htab_find_slot_with_hash (symbol_table, string,
- (*htab_hash_string)(string),
+ (*htab_hash_string) (string),
create ? INSERT : NO_INSERT);
if (e == NULL)
return NULL;
@@ -143,7 +143,7 @@ file_hash_lookup (string)
{
PTR *e;
e = htab_find_slot_with_hash (file_table, string,
- (*htab_hash_string)(string),
+ (*htab_hash_string) (string),
INSERT);
if (*e == NULL)
{
@@ -165,7 +165,7 @@ demangled_hash_lookup (string, create)
{
PTR *e;
e = htab_find_slot_with_hash (demangled_table, string,
- (*htab_hash_string)(string),
+ (*htab_hash_string) (string),
create ? INSERT : NO_INSERT);
if (e == NULL)
return NULL;
@@ -583,13 +583,13 @@ scan_linker_output (fname)
symbol *sym;
int end;
- while (*p && ISSPACE ((unsigned char)*p))
+ while (*p && ISSPACE ((unsigned char) *p))
++p;
if (! *p)
continue;
- for (q = p; *q && ! ISSPACE ((unsigned char)*q); ++q)
+ for (q = p; *q && ! ISSPACE ((unsigned char) *q); ++q)
;
/* Try the first word on the line. */
@@ -605,9 +605,9 @@ scan_linker_output (fname)
/* Some SVR4 linkers produce messages like
ld: 0711-317 ERROR: Undefined symbol: .g__t3foo1Zi
*/
- if (! sym && ! end && strstr (q+1, "Undefined symbol: "))
+ if (! sym && ! end && strstr (q + 1, "Undefined symbol: "))
{
- char *p = strrchr (q+1, ' ');
+ char *p = strrchr (q + 1, ' ');
p++;
if (*p == '.')
p++;
@@ -619,7 +619,7 @@ scan_linker_output (fname)
if (! sym && ! end)
/* Try a mangled name in quotes. */
{
- const char *oldq = q+1;
+ const char *oldq = q + 1;
demangled *dem = 0;
q = 0;
OpenPOWER on IntegriCloud