diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-20 22:04:31 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-20 22:04:31 +0100 |
commit | 02f44401d169581253e7ec59f63be8e5cdffd3c5 (patch) | |
tree | 14cb94e5a26eef37107d12d8d75448c9bac8ded9 | |
parent | 919216ba523b8d16f2b94619af97e1e96fa6e3d8 (diff) |
Comment out db_search_null
* i386/i386/db_interface.c (db_search_null) [!GNU]: Do not define
db_search_null.
-rw-r--r-- | i386/i386/db_interface.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c index fcb18de..a8ac52a 100644 --- a/i386/i386/db_interface.c +++ b/i386/i386/db_interface.c @@ -641,6 +641,9 @@ db_phys_eq( #define DB_USER_STACK_ADDR (VM_MIN_KERNEL_ADDRESS) #define DB_NAME_SEARCH_LIMIT (DB_USER_STACK_ADDR-(INTEL_PGBYTES*3)) +#define GNU + +#ifndef GNU static boolean_t db_search_null( task_t task, @@ -671,8 +674,7 @@ db_search_null( } return FALSE; } - -#define GNU +#endif /* GNU */ #ifdef GNU static boolean_t |