From 8345c5c33fbed90a1d79fcd0756ade66aca2fcc9 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 25 Jul 2013 11:19:27 +0200 Subject: Introduce tristate type --- src/fastd.h | 1 - src/queue.h | 1 - src/types.h | 7 +++++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/fastd.h b/src/fastd.h index e3aa76b..474fd1f 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/src/queue.h b/src/queue.h index 5b68907..c74fd55 100644 --- a/src/queue.h +++ b/src/queue.h @@ -29,7 +29,6 @@ #include "types.h" -#include #include #include diff --git a/src/types.h b/src/types.h index 7cec771..b1026b5 100644 --- a/src/types.h +++ b/src/types.h @@ -36,6 +36,13 @@ #include #include +#include + + +typedef struct fastd_tristate { + bool set : 1; + bool state : 1; +} fastd_tristate_t; typedef enum fastd_mode { MODE_TAP, -- cgit v1.2.3