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
|
@ -57,9 +57,9 @@ struct lonstr {
|
|||
#define LS_SIGNED 2
|
||||
|
||||
#define getloan(n, lp) \
|
||||
ef_read(EF_LOAN, n, (caddr_t)lp)
|
||||
ef_read(EF_LOAN, n, lp)
|
||||
#define putloan(n, lp) \
|
||||
ef_write(EF_LOAN, n, (caddr_t)lp)
|
||||
ef_write(EF_LOAN, n, lp)
|
||||
#define getloanp(n) \
|
||||
(struct lonstr *) ef_ptr(EF_LOAN, n)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue