fetch_tapped_data() returns a const pointer, so declare the function as returning such

svn path=/trunk/; revision=20861
This commit is contained in:
Jeff Morriss 2007-02-19 12:24:32 +00:00
parent 3542de4287
commit f2e0f951f7
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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