aboutsummaryrefslogtreecommitdiff
path: root/library.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-12-17 03:20:34 +0100
committerPetr Machata <pmachata@redhat.com>2012-12-17 03:20:34 +0100
commit929bd57ca202fd2f2e8485ebf65d683e664f67b5 (patch)
treec286cdcc9dd72faa6a6d99eeae92a82b71a0257d /library.c
parent5cde20b3588001c9c3a51e0e7b902fff58393706 (diff)
downloadltrace-929bd57ca202fd2f2e8485ebf65d683e664f67b5.tar.gz
struct Process becomes struct process
This is for consistency with other structures, and ultimately with Linux coding style. The typedef ("Process") was dropped as well for this reason. This opportunity was used to fix coding style around the impacted lines.
Diffstat (limited to 'library.c')
-rw-r--r--library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/library.c b/library.c
index 594472b..b5f6386 100644
--- a/library.c
+++ b/library.c
@@ -412,7 +412,7 @@ library_add_symbol(struct library *lib, struct library_symbol *first)
}
enum callback_status
-library_named_cb(struct Process *proc, struct library *lib, void *name)
+library_named_cb(struct process *proc, struct library *lib, void *name)
{
if (name == lib->soname
|| strcmp(lib->soname, (char *)name) == 0)
@@ -422,7 +422,7 @@ library_named_cb(struct Process *proc, struct library *lib, void *name)
}
enum callback_status
-library_with_key_cb(struct Process *proc, struct library *lib, void *keyp)
+library_with_key_cb(struct process *proc, struct library *lib, void *keyp)
{
return lib->key == *(arch_addr_t *)keyp ? CBS_STOP : CBS_CONT;
}