]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/domain.h
xnu-3247.1.106.tar.gz
[apple/xnu.git] / bsd / sys / domain.h
index 3fe847cdf041dc493908fb2bf955b6e2abd4176e..fa77f963b722c2e6a03f6027f9e1c46dc350a054 100644 (file)
@@ -175,11 +175,11 @@ extern void net_drain_domains(void);
 extern void domain_proto_mtx_lock_assert_held(void);
 extern void domain_proto_mtx_lock_assert_notheld(void);
 struct domain_guard;
-typedef struct domain_guard *domain_guard_t;
+typedef const struct domain_guard *domain_guard_t;
 extern domain_guard_t domain_guard_deploy(void);
 extern void domain_guard_release(domain_guard_t);
 struct domain_unguard;
-typedef struct domain_unguard *domain_unguard_t;
+typedef const struct domain_unguard *domain_unguard_t;
 extern domain_unguard_t domain_unguard_deploy(void);
 extern void domain_unguard_release(domain_unguard_t);
 extern struct domain_old *pffinddomain_old(int);