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:
Markus Armbruster 2004-08-23 18:29:44 +00:00
parent 059353e957
commit dcfd251f95
40 changed files with 80 additions and 82 deletions

View file

@ -144,7 +144,7 @@ typed_wu(natid from, natid to, s_char *message, int type)
tel.tel_length = len;
tel.tel_type = type;
#if !defined(_WIN32)
iov[0].iov_base = (caddr_t)&tel;
iov[0].iov_base = &tel;
iov[0].iov_len = sizeof(tel);
iov[1].iov_base = message;
iov[1].iov_len = len;