aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);