diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-09-11 06:49:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-09-11 06:49:42 +0000 |
commit | bac7494ff0d440466a27dce46930e8e82c70521f (patch) | |
tree | afaaba9e3c425df9b6f4b5a16042431eaa021b44 /wiretap | |
parent | de7081f8ffe105c94076305da48547b404886371 (diff) | |
download | wireshark-bac7494ff0d440466a27dce46930e8e82c70521f.tar.gz wireshark-bac7494ff0d440466a27dce46930e8e82c70521f.tar.bz2 wireshark-bac7494ff0d440466a27dce46930e8e82c70521f.zip |
"ascend_read()" is local to "ascend.c" - declare it there, not in
"ascend.h".
svn path=/trunk/; revision=657
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/ascend.c | 4 | ||||
-rw-r--r-- | wiretap/ascend.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/wiretap/ascend.c b/wiretap/ascend.c index a225e64dba..30ff9c2d87 100644 --- a/wiretap/ascend.c +++ b/wiretap/ascend.c @@ -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. */ diff --git a/wiretap/ascend.h b/wiretap/ascend.h index ab43fd3962..fb7accd6de 100644 --- a/wiretap/ascend.h +++ b/wiretap/ascend.h @@ -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); |