diff options
Diffstat (limited to 'src/shared/types.h')
-rw-r--r-- | src/shared/types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shared/types.h b/src/shared/types.h new file mode 100644 index 0000000..5dd39ad --- /dev/null +++ b/src/shared/types.h @@ -0,0 +1,10 @@ +#pragma once +#include <stdint.h> + +#ifdef __CHECKER__ +# define __user __attribute__((noderef, address_space(__user))) +#else +# define __user +#endif + +typedef void __user * userptr_t; |