aboutsummaryrefslogtreecommitdiffstats
path: root/capture_session.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-05-22 09:25:28 +0000
committerGuy Harris <guy@alum.mit.edu>2013-05-22 09:25:28 +0000
commit2cb6b0416e682f62b18e0ed109bfe9bd32088086 (patch)
tree5221b1a4dab3add9475ed20814a6cb0b6b419984 /capture_session.h
parentf096a1e57a0c0dc5e8ecf20f5c2e2a78f14abc25 (diff)
OK, maybe that version of GCC doesn't like structure definitions in
typedefs or something. svn path=/trunk/; revision=49503
Diffstat (limited to 'capture_session.h')
-rw-r--r--capture_session.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/capture_session.h b/capture_session.h
index b828ea6ef7..fcbace1e9e 100644
--- a/capture_session.h
+++ b/capture_session.h
@@ -35,7 +35,7 @@ typedef enum {
/*
* State of a capture session.
*/
-typedef struct oh_shut_up_already {
+struct oh_shut_up_already {
int fork_child; /**< If not -1, in parent, process ID of child */
int fork_child_status; /**< Child exit status */
#ifdef _WIN32
@@ -49,7 +49,9 @@ typedef struct oh_shut_up_already {
gboolean session_started;
capture_options *capture_opts; /**< options for this capture */
void *cf; /**< handle to cfile (note: untyped handle) */
-} capture_session;
+};
+
+typedef struct oh_shut_up_already capture_session;
extern void
capture_session_init(capture_session *cap_session, void *cf);