summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-01-09 23:50:07 +0100
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:24 +0900
commitaa7a88a347fda1b709ed18745f832e15441125dd (patch)
treedd7e1a9375c522030676c104930f54ea24911cf1 /proc.c
parent159fe9b8655a81b1e41f8039e58c0e2cbbd08929 (diff)
downloadltrace-aa7a88a347fda1b709ed18745f832e15441125dd.tar.gz
ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.tar.bz2
ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.zip
Type proc_each_breakpoint properly
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proc.c b/proc.c
index 97bcb60..09e6d9b 100644
--- a/proc.c
+++ b/proc.c
@@ -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)