From 2c66588f3e0b6f48ec1d19bd4d6eb4804ed940e7 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jan 2007 01:40:12 +0000 Subject: [PATCH] Add UNULL --- src/include/gpxe/uaccess.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/gpxe/uaccess.h b/src/include/gpxe/uaccess.h index 38853bfb..05f89e03 100644 --- a/src/include/gpxe/uaccess.h +++ b/src/include/gpxe/uaccess.h @@ -21,4 +21,7 @@ #include +/** Equivalent of NULL for user pointers */ +#define UNULL ( ( userptr_t ) 0 ) + #endif /* _GPXE_UACCESS_H */