Przeglądaj źródła

Add UNULL

tags/v0.9.3
Michael Brown 18 lat temu
rodzic
commit
2c66588f3e
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3
    0
      src/include/gpxe/uaccess.h

+ 3
- 0
src/include/gpxe/uaccess.h Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz