X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fvfsck%2Futilities.c;h=ad5072ff9382ab69b0f1d955dd2326df33270f71;hp=19f6dc50d5b9c5591dff35f3466961aa9f382df9;hb=6534b10a4180ec10bceebbc11405718e7969fa21;hpb=9547615445ccbe07d8f6d7baeb7fd0315354fce0 diff --git a/src/vfsck/utilities.c b/src/vfsck/utilities.c index 19f6dc5..ad5072f 100644 --- a/src/vfsck/utilities.c +++ b/src/vfsck/utilities.c @@ -40,18 +40,6 @@ #include #define VICE /* allow us to put our changes in at will */ -#ifdef AFS_OSF_ENV -#include -#include -#include -#include -#define _BSD -#define _KERNEL -#include -#undef _KERNEL -#undef _BSD -#define AFS_NEWCG_ENV -#else /* AFS_OSF_ENV */ #ifdef AFS_VFSINCL_ENV #include #ifdef AFS_SUN5_ENV @@ -73,11 +61,10 @@ #endif #include #endif /* AFS_VFSINCL_ENV */ -#endif /* AFS_OSF_ENV */ #include "fsck.h" -#if defined(AFS_SUN_ENV) || defined(AFS_OSF_ENV) +#if defined(AFS_SUN_ENV) #define AFS_NEWCG_ENV #else #undef AFS_NEWCG_ENV @@ -194,7 +181,7 @@ bufinit() if (bufcnt < MINBUFS) bufcnt = MINBUFS; for (i = 0; i < bufcnt; i++) { - bp = (struct bufarea *)malloc(sizeof(struct bufarea)); + bp = malloc(sizeof(struct bufarea)); bufp = malloc((unsigned int)sblock.fs_bsize); if (bp == NULL || bufp == NULL) { if (i >= MINBUFS)