Browse Source

Add UNULL

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
2c66588f3e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/include/gpxe/uaccess.h

+ 3
- 0
src/include/gpxe/uaccess.h View File

@@ -21,4 +21,7 @@
21 21
 
22 22
 #include <bits/uaccess.h>
23 23
 
24
+/** Equivalent of NULL for user pointers */
25
+#define UNULL ( ( userptr_t ) 0 )
26
+
24 27
 #endif /* _GPXE_UACCESS_H */

Loading…
Cancel
Save