forked from osmocom/wireshark
fetch_tapped_data() returns a const pointer, so declare the function as returning such
svn path=/trunk/; revision=20861
This commit is contained in:
parent
3542de4287
commit
f2e0f951f7
|
@ -268,7 +268,7 @@ tap_push_tapped_queue(epan_dissect_t *edt)
|
|||
* use "filters" and should specify the "filter" as NULL when registering
|
||||
* the tap listener.
|
||||
*/
|
||||
void *
|
||||
const void *
|
||||
fetch_tapped_data(int tap_id, int idx)
|
||||
{
|
||||
tap_packet_t *tp;
|
||||
|
|
|
@ -50,6 +50,6 @@ extern GString *register_tap_listener(const char *tapname, void *tapdata,
|
|||
tap_draw_cb tap_draw);
|
||||
extern void remove_tap_listener(void *tapdata);
|
||||
extern gboolean have_tap_listeners(void);
|
||||
extern void *fetch_tapped_data(int tap_id, int idx);
|
||||
extern const void *fetch_tapped_data(int tap_id, int idx);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue