The afs_osi_Alloc, afs_osi_Free, etc. routines are now
defined in afs_osi_alloc.c so the macro definitions defined
by osi_machdep.h for OpenBSD are no longer needed and, in
fact, interfere with the compile. Remove them.
Reviewed-on: http://gerrit.openafs.org/3681
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit
1c7420422313375f7132479c588f09eabac73c70)
Change-Id: I9c5b77456472e26fc575165617d81ec6796f7c45
Reviewed-on: http://gerrit.openafs.org/3717
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
extern void *osi_obsd_Alloc(size_t asize, int cansleep);
extern void osi_obsd_Free(void *p, size_t asize);
-#define afs_osi_Alloc_NoSleep(asize) osi_obsd_Alloc((asize), 0)
-#define afs_osi_Alloc(asize) osi_obsd_Alloc((asize), 1)
-#define afs_osi_FreeStr(s) afs_osi_Free((s), strlen((s)) + 1)
-#define afs_osi_Free(buf, asize) osi_obsd_Free((buf), (asize))
-
#ifdef AFS_KALLOC
#undef AFS_KALLOC
#define AFS_KALLOC(s) osi_obsd_Alloc((s), 1 /* cansleep */)