caddr_t is obsolete. Replace by void *, except for struct empfile
member cache, which becomes char * to keep pointer arithmetic simple.
This commit is contained in:
parent
059353e957
commit
dcfd251f95
40 changed files with 80 additions and 82 deletions
|
@ -177,9 +177,9 @@ struct mchrstr {
|
|||
#define M_ANTIMISSILE bit(20) /* Shoot down missile */
|
||||
|
||||
#define getship(n, p) \
|
||||
ef_read(EF_SHIP, n, (caddr_t)p)
|
||||
ef_read(EF_SHIP, n, p)
|
||||
#define putship(n, p) \
|
||||
ef_write(EF_SHIP, n, (caddr_t)p)
|
||||
ef_write(EF_SHIP, n, p)
|
||||
#define getshipp(n) \
|
||||
(struct shpstr *) ef_ptr(EF_SHIP, n)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue