summaryrefslogtreecommitdiff
path: root/include/simple-object.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2010-11-17 02:03:35 +0000
committerDJ Delorie <dj@delorie.com>2010-11-17 02:03:35 +0000
commitd19aa4cdcb58fcd413e52b13f2ef8d2a10f2ca07 (patch)
treea1fc9d8121a855dee51f83785d56101a79947085 /include/simple-object.h
parent013fb3f4708bfd4abaa7d23ed7d4686e8d2b0951 (diff)
downloadgdb-d19aa4cdcb58fcd413e52b13f2ef8d2a10f2ca07.tar.gz
merge from gcc
Diffstat (limited to 'include/simple-object.h')
-rw-r--r--include/simple-object.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/simple-object.h b/include/simple-object.h
index a72e4a19bc2..c4786757a1e 100644
--- a/include/simple-object.h
+++ b/include/simple-object.h
@@ -117,14 +117,15 @@ extern simple_object_attributes *
simple_object_fetch_attributes (simple_object_read *simple_object,
const char **errmsg, int *err);
-/* Compare ATTRS1 and ATTRS2. If they could be linked together
- without error, return NULL. Otherwise, return an error message,
- set *ERR to an errno value or 0 if there isn't one. */
+/* Merge the FROM attributes into TO. If two objects with these
+ attributes could be linked together without error, returns NULL.
+ Otherwise, returns an error message, and sets *ERR to an errno
+ value or 0 if there isn't one. */
extern const char *
-simple_object_attributes_compare (simple_object_attributes *attrs1,
- simple_object_attributes *attrs2,
- int *err);
+simple_object_attributes_merge (simple_object_attributes *to,
+ simple_object_attributes *from,
+ int *err);
/* Release all resources associated with ATTRS. */