1/* 2 * We need to prefix the elements of DIR with double-underscore to use 3 * the implementation namespace. We could patch all the *dir.c code, 4 * but it is easier to use #defines to rename the elements. This file 5 * then gets included by all the *dir.c. 6 */ 7#define dd_fd __dd_fd 8#define dd_loc __dd_loc 9#define dd_size __dd_size 10#define dd_buf __dd_buf 11#define dd_len __dd_len 12#define dd_seek __dd_seek 13#define dd_rewind __dd_rewind 14#define dd_flags __dd_flags 15#define dd_lock __dd_lock 16#define dd_td __dd_td 17