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
|
@ -44,8 +44,8 @@ struct loststr {
|
|||
time_t lost_timestamp; /* When it was lost */
|
||||
};
|
||||
|
||||
#define getlost(n, p) ef_read(EF_LOST, n, (caddr_t)p)
|
||||
#define putlost(n, p) ef_write(EF_LOST, n, (caddr_t)p)
|
||||
#define getlost(n, p) ef_read(EF_LOST, n, p)
|
||||
#define putlost(n, p) ef_write(EF_LOST, n, p)
|
||||
|
||||
/* src/lib/subs/lostsub.c */
|
||||
extern int findlost(char, natid, short, coord, coord, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue