diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-22 09:25:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-22 09:25:28 +0000 |
commit | 2cb6b0416e682f62b18e0ed109bfe9bd32088086 (patch) | |
tree | 5221b1a4dab3add9475ed20814a6cb0b6b419984 | |
parent | f096a1e57a0c0dc5e8ecf20f5c2e2a78f14abc25 (diff) | |
download | wireshark-2cb6b0416e682f62b18e0ed109bfe9bd32088086.tar.gz wireshark-2cb6b0416e682f62b18e0ed109bfe9bd32088086.tar.bz2 wireshark-2cb6b0416e682f62b18e0ed109bfe9bd32088086.zip |
OK, maybe that version of GCC doesn't like structure definitions in
typedefs or something.
svn path=/trunk/; revision=49503
-rw-r--r-- | capture_session.h | 6 |
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); |