git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4bf6876
)
rx-prototypes-alloc-free-ifdefs-20090321
author
Derrick Brashear
<shadow@dementia.org>
Sat, 21 Mar 2009 15:45:41 +0000 (15:45 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Sat, 21 Mar 2009 15:45:41 +0000 (15:45 +0000)
LICENSE IPL10
don't prototype osi_Alloc/osi_Free if they're just #defines
src/rx/rx_prototypes.h
patch
|
blob
|
history
diff --git
a/src/rx/rx_prototypes.h
b/src/rx/rx_prototypes.h
index
5ca81fb
..
89b5600
100644
(file)
--- a/
src/rx/rx_prototypes.h
+++ b/
src/rx/rx_prototypes.h
@@
-605,8
+605,12
@@
extern void rxi_InitPeerParams(struct rx_peer *pp);
extern int rxi_HandleSocketError(int socket);
#if defined(AFS_AIX32_ENV) && !defined(KERNEL)
+#ifndef osi_Alloc
extern void *osi_Alloc(afs_int32 x);
+#endif
+#ifndef osi_Free
extern void osi_Free(void *x, afs_int32 size);
+#endif
#endif /* defined(AFS_AIX32_ENV) && !defined(KERNEL) */
extern void rx_GetIFInfo(void);