summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-03-08 23:07:15 +0000
committerJörg Mayer <jmayer@loplof.de>2004-03-08 23:07:15 +0000
commit452789c91fffdc1f4f4cae2d29b09509fbddf578 (patch)
tree2bb5ca1d65a32ebefa113fc2edf8671ebedf36b8 /file.h
parentf31b404a152ce4869ff530299da353be5daf57a8 (diff)
downloadwireshark-452789c91fffdc1f4f4cae2d29b09509fbddf578.tar.gz
This makes ethereal compile again when configured --without-pcap
I don't know whether this is the optimal patch, but it does the job. file.h: extern declaration of auto_scroll_live file.c: always declare auto_scroll_live svn path=/trunk/; revision=10347
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/file.h b/file.h
index a0c7946f7c..ff3c23be7e 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.116 2004/02/23 22:48:51 guy Exp $
+ * $Id: file.h,v 1.117 2004/03/08 23:07:15 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -42,6 +42,8 @@ typedef enum {
READ_ABORTED /* read aborted by user */
} read_status_t;
+extern gboolean auto_scroll_live;
+
int cf_open(char *, gboolean, capture_file *);
void cf_close(capture_file *);
read_status_t cf_read(capture_file *);