diff options
author | Petr Machata <pmachata@redhat.com> | 2014-01-09 23:50:07 +0100 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:24 +0900 |
commit | aa7a88a347fda1b709ed18745f832e15441125dd (patch) | |
tree | dd7e1a9375c522030676c104930f54ea24911cf1 /proc.c | |
parent | 159fe9b8655a81b1e41f8039e58c0e2cbbd08929 (diff) | |
download | ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.tar.gz ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.tar.bz2 ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.zip |
Type proc_each_breakpoint properly
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* * This file is part of ltrace. - * Copyright (C) 2011,2012,2013 Petr Machata, Red Hat Inc. + * Copyright (C) 2011,2012,2013,2014 Petr Machata, Red Hat Inc. * Copyright (C) 2010 Joe Damato * Copyright (C) 1998,2009 Juan Cespedes * @@ -1000,8 +1000,8 @@ each_breakpoint_cb(arch_addr_t *key, struct breakpoint **bpp, void *d) return data->cb(data->proc, *bpp, data->cb_data); } -void * -proc_each_breakpoint(struct process *proc, void *start, +arch_addr_t * +proc_each_breakpoint(struct process *proc, arch_addr_t *start, enum callback_status (*cb)(struct process *proc, struct breakpoint *bp, void *data), void *data) |