From: Chaskiel M Grundman Date: Thu, 22 Aug 2002 17:19:38 +0000 (+0000) Subject: struct-buf-hack-cleanup-20020822 X-Git-Tag: BP-openafs-rxkad-krb5~5 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b1edf891d717ee8e08c0d93738a204cff09cf68f;p=packages%2Fo%2Fopenafs.git struct-buf-hack-cleanup-20020822 get rid of bogus struct and just declare it --- diff --git a/src/afs/afs.h b/src/afs/afs.h index 5fc2e73b0..0ef4b6522 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -1145,12 +1145,10 @@ extern struct brequest afs_brs[NBRS]; /* request structures */ #if !defined(UKERNEL) && !defined(HAVE_STRUCT_BUF) /* declare something so that prototypes don't flip out */ -/* this is really a sick hack, but appears struct buf stuff is only actually passed -around as a pointer, except with libuafs, in which case it is actually defined */ +/* appears struct buf stuff is only actually passed around as a pointer, + except with libuafs, in which case it is actually defined */ -struct buf { - int bogus; -}; +struct buf; #endif /* fakestat support: opaque storage for afs_EvalFakeStat to remember