Ver código fonte

Add UNULL

tags/v0.9.3
Michael Brown 18 anos atrás
pai
commit
2c66588f3e
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3
    0
      src/include/gpxe/uaccess.h

+ 3
- 0
src/include/gpxe/uaccess.h Ver arquivo

@@ -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 */

Carregando…
Cancelar
Salvar