aboutsummaryrefslogtreecommitdiffstats
path: root/router/router.h
diff options
context:
space:
mode:
Diffstat (limited to 'router/router.h')
-rw-r--r--router/router.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/router/router.h b/router/router.h
index ee885d85..32a91dcb 100644
--- a/router/router.h
+++ b/router/router.h
@@ -137,7 +137,8 @@ extern DriverIface *DriverList;
extern int DriverListSize;
extern altss_t ThreadCtxDriver;
-extern ATOMIC(DriverIface*) CurrentCtxDriver;
+typedef ATOMIC(DriverIface*) atomic_DriverIfacePtr;
+extern atomic_DriverIfacePtr CurrentCtxDriver;
typedef struct PtrIntMap {