aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-05-09 05:20:20 +0000
committerGuy Harris <guy@alum.mit.edu>2014-05-09 05:20:29 +0000
commita651f3e5edb2f148a0e5f495b5cba0e7fa43e002 (patch)
tree6fdc3438a2e250702e6b4fd7bac5743288ed70e5
parent9edba650d11776fa1d5aefe4820890898380c1c2 (diff)
Revert "Try to fix the build boot by changing the signature of catapult_dct2000_dump() to the declared one."
This reverts commit f5a0d7e89753622bb11a6e27292c459a87ca9c67. There's a lot more work needed to fix this change; that's not the only broken file. I'm going to be reverting the whole thing. Change-Id: I8e9bb3902f7e398ccb71c66711869c3dd338271c Reviewed-on: https://code.wireshark.org/review/1569 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--wiretap/catapult_dct2000.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wiretap/catapult_dct2000.c b/wiretap/catapult_dct2000.c
index 8383453339..e129e9a6ea 100644
--- a/wiretap/catapult_dct2000.c
+++ b/wiretap/catapult_dct2000.c
@@ -589,10 +589,9 @@ catapult_dct2000_dump_can_write_encap(int encap)
/*****************************************/
static gboolean
-catapult_dct2000_dump(wftap_dumper *wdh, void* header,
+catapult_dct2000_dump(wftap_dumper *wdh, const struct wtap_pkthdr *phdr,
const guint8 *pd, int *err)
{
- const struct wtap_pkthdr *phdr = (const struct wtap_pkthdr *)header;
const union wtap_pseudo_header *pseudo_header = &phdr->pseudo_header;
guint32 n;
line_prefix_info_t *prefix = NULL;