/*
* We have to have 4 copies of the code that converts linux fcntl() file
* locking to native form because there are 4 layouts for the structures.
* To avoid replicating code, these defines are used.
*
* The next two functions take care of converting the flock
* structure back and forth between Linux and NetBSD format.
* The only difference in the structures is the order and size of
* the fields, and the 'whence' value.
*/