Removed inline to compile on FreeBSD