Commit: a1ecdb0df1aa88281947d3f8c120abfc9923f00a
Parent: 99785edd07b0c28289cac85940a3b61d32134f28
Author: Natanael Copa <ncopa@alpinelinux.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-03-14 13:05:34
Tree: 8a96652634ef36a606aa7961cf91ac15864832b3

bnep: avoid use of caddr_t caddr_t is legacy BSD and should be avoided. This fixes the following compile error on Alpine Linux with musl libc: profiles/network/bnep.c: In function 'bnep_if_up': profiles/network/bnep.c:205:33: error: 'caddr_t' undeclared (first use in this function) err = ioctl(sk, SIOCSIFFLAGS, (caddr_t) &ifr);

Diffstat

M profiles/network/bnep.c | 4 ++- -

1 files changed, 2 insertions(+), 2 deletions(-)

View Full Diff | Patch