diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-09-11 06:49:42 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-09-11 06:49:42 +0000 |
commit | 471f261d5ac9944139e9e00f4c9ea3ecd6c10e7e (patch) | |
tree | afaaba9e3c425df9b6f4b5a16042431eaa021b44 /wiretap/ascend.c | |
parent | 339dd6141dbe2428d36ba06d32178bde727b14ad (diff) |
"ascend_read()" is local to "ascend.c" - declare it there, not in
"ascend.h".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@657 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/ascend.c')
-rw-r--r-- | wiretap/ascend.c | 4 |
1 files changed, 3 insertions, 1 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. */ |