git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
DARWIN: Convert crfree back into a macro
[openafs.git]
/
src
/
afs
/
DARWIN
/
osi_machdep.h
diff --git
a/src/afs/DARWIN/osi_machdep.h
b/src/afs/DARWIN/osi_machdep.h
index
f513020
..
1750052
100644
(file)
--- a/
src/afs/DARWIN/osi_machdep.h
+++ b/
src/afs/DARWIN/osi_machdep.h
@@
-105,7
+105,7
@@
enum vcexcl { EXCL, NONEXCL };
#define crref kauth_cred_get_with_ref
#define crhold kauth_cred_ref
#ifdef AFS_DARWIN100_ENV
-static inline void crfree(kauth_cred_t X) { kauth_cred_unref(&X); }
+#define crfree(X) kauth_cred_unref(&X)
#else
#define crfree kauth_cred_rele
#endif