HomeFreeBSD

casper: convert macros to inline functions

Description

casper: convert macros to inline functions

In libcasper, the first argument to the function is a structure that
represents a connection to Casper. On systems without Casper, macros
are used to interpose the Casper functions to standard libc ones.
This may cause errors/warnings that the variable is not used.
With the inline function, there is no such problem.

Details

Provenance
oshogboAuthored on Jan 4 2021, 7:50 PM
Parents
rG381073282961: lib9p: fix building on systems without capser
Branches
Unknown
Tags
Unknown