]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-rx-prototypes-alloc-free-ifdefs-20090321
authorDerrick Brashear <shadow@dementia.org>
Sat, 21 Mar 2009 15:46:07 +0000 (15:46 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 21 Mar 2009 15:46:07 +0000 (15:46 +0000)
LICENSE IPL10

don't prototype osi_Alloc/osi_Free if they're just #defines

(cherry picked from commit 4398d6277dacde8464c0db7a73d5ecb37039823f)

src/rx/rx_prototypes.h

index 74c59231ffe4dbb6b8867550c7a5e72271e1f0ed..b61e6983ddb21d21d662d856f0c3eb065ef23555 100644 (file)
@@ -583,8 +583,12 @@ extern int rx_getAllAddr(afs_int32 * buffer, int maxSize);
 extern void rxi_InitPeerParams(struct rx_peer *pp);
 
 #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);