]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
struct-buf-hack-cleanup-20020822
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Thu, 22 Aug 2002 17:19:38 +0000 (17:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 22 Aug 2002 17:19:38 +0000 (17:19 +0000)
get rid of bogus struct and just declare it

src/afs/afs.h

index 5fc2e73b03baad062fe73fe5a23dab8d17dd7b7c..0ef4b65228b46d83da81c12053be71d847ae449e 100644 (file)
@@ -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