Export prototypes for osi_fbsd_{alloc,free} for use in rx
authorBen Kaduk <kaduk@mit.edu>
Tue, 9 Mar 2010 04:38:15 +0000 (23:38 -0500)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Mar 2010 05:11:52 +0000 (21:11 -0800)
commit2724e9ee8544ad5bf598e6552ab9a42ed615aa88
tree4f841ff907484fc01b13e721fc954b13c08818e3
parent0eb19d67f6848cd0216d079d66487b5c1b2a95fb
Export prototypes for osi_fbsd_{alloc,free} for use in rx

Include prototypes for osi_fbsd_alloc() and osi_fbsd_free() in
osi_machdep.h, since afs_prototypes.h is not included when compiling
the rx code.  afs_osi_Alloc_NoSleep is #defined to be osi_fbsd_free,
and is used in the rx code; if the prototype for the latter is not
included, then int is assumed for all parameters and return values,
which breaks the calling convention for 64-bit pointers.

Change-Id: I3d7575525f159097d1f8ca9ecb22af9f27b63111
Reviewed-on: http://gerrit.openafs.org/1541
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/FBSD/osi_machdep.h