summaryrefslogtreecommitdiff
path: root/gcc/attribs.c
diff options
context:
space:
mode:
authortglek <tglek@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-14 23:10:50 +0000
committertglek <tglek@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-14 23:10:50 +0000
commit4fb84273d03c549968ac959bb95193a2597c264c (patch)
tree1a2e083c266209add63e9942315e1113fb84bff0 /gcc/attribs.c
parentab1f213d2022fcc1b0a7b4ead4ee332054078acb (diff)
downloadgcc-4fb84273d03c549968ac959bb95193a2597c264c.tar.gz
Correct formatting errors commited in rev 147516
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/attribs.c')
-rw-r--r--gcc/attribs.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/attribs.c b/gcc/attribs.c
index a7f549e1dc8..5b18aa35751 100644
--- a/gcc/attribs.c
+++ b/gcc/attribs.c
@@ -194,16 +194,16 @@ init_attributes (void)
void
register_attribute (const struct attribute_spec *attr)
{
- struct substring str;
- const void **slot;
-
- str.str = attr->name;
- str.length = strlen (str.str);
- slot = (const void **)htab_find_slot_with_hash (attribute_hash, &str,
- substring_hash (str.str, str.length),
- INSERT);
- gcc_assert (!*slot);
- *slot = attr;
+ struct substring str;
+ const void **slot;
+
+ str.str = attr->name;
+ str.length = strlen (str.str);
+ slot = (const void **)htab_find_slot_with_hash (attribute_hash, &str,
+ substring_hash (str.str, str.length),
+ INSERT);
+ gcc_assert (!*slot);
+ *slot = attr;
}
/* Return the spec for the attribute named NAME. */