diff options
author | Petr Machata <pmachata@redhat.com> | 2012-12-17 03:20:34 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-12-17 03:20:34 +0100 |
commit | 929bd57ca202fd2f2e8485ebf65d683e664f67b5 (patch) | |
tree | c286cdcc9dd72faa6a6d99eeae92a82b71a0257d /library.c | |
parent | 5cde20b3588001c9c3a51e0e7b902fff58393706 (diff) | |
download | ltrace-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |