forked from osmocom/wireshark
"ascend_read()" is local to "ascend.c" - declare it there, not in
"ascend.h". svn path=/trunk/; revision=657
This commit is contained in:
parent
de7081f8ff
commit
bac7494ff0
|
@ -1,6 +1,6 @@
|
|||
/* ascend.c
|
||||
*
|
||||
* $Id: ascend.c,v 1.1 1999/09/11 04:53:26 gerald Exp $
|
||||
* $Id: ascend.c,v 1.2 1999/09/11 06:49:42 guy Exp $
|
||||
*
|
||||
* Wiretap Library
|
||||
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
|
||||
|
@ -72,6 +72,8 @@ static const char ascend_emagic[] = { 'E', 'T', 'H', 'E', 'R', ' ' };
|
|||
#define ASCEND_R_SIZE (sizeof ascend_rmagic / sizeof ascend_rmagic[0])
|
||||
#define ASCEND_E_SIZE (sizeof ascend_emagic / sizeof ascend_emagic[0])
|
||||
|
||||
static int ascend_read(wtap *wth, int *err);
|
||||
|
||||
/* Seeks to the beginning of the next packet, and returns the
|
||||
byte offset. Returns 0 on failure. A valid offset is 0; since
|
||||
that causes problems with wtap_loop, offsets are incremented by one. */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* ascend.h
|
||||
*
|
||||
* $Id: ascend.h,v 1.1 1999/09/11 04:53:26 gerald Exp $
|
||||
* $Id: ascend.h,v 1.2 1999/09/11 06:49:42 guy Exp $
|
||||
*
|
||||
* Wiretap Library
|
||||
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
|
||||
|
@ -44,7 +44,6 @@ typedef struct {
|
|||
#define ASCEND_PKTHDR_OFFSET sizeof(ascend_pkthdr)
|
||||
|
||||
int ascend_open(wtap *wth, int *err);
|
||||
static int ascend_read(wtap *wth, int *err);
|
||||
void init_parse_ascend();
|
||||
int parse_ascend(FILE *fh, void *pd, int len);
|
||||
int ascend_seek_read (FILE *fh, int seek_off, guint8 *pd, int len);
|
||||
|
|
Loading…
Reference in New Issue