mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
struct-buf-hack-cleanup-20020822
get rid of bogus struct and just declare it
This commit is contained in:
parent
0c15f693e3
commit
b1edf891d7
@ -1145,12 +1145,10 @@ extern struct brequest afs_brs[NBRS]; /* request structures */
|
|||||||
|
|
||||||
#if !defined(UKERNEL) && !defined(HAVE_STRUCT_BUF)
|
#if !defined(UKERNEL) && !defined(HAVE_STRUCT_BUF)
|
||||||
/* declare something so that prototypes don't flip out */
|
/* declare something so that prototypes don't flip out */
|
||||||
/* this is really a sick hack, but appears struct buf stuff is only actually passed
|
/* appears struct buf stuff is only actually passed around as a pointer,
|
||||||
around as a pointer, except with libuafs, in which case it is actually defined */
|
except with libuafs, in which case it is actually defined */
|
||||||
|
|
||||||
struct buf {
|
struct buf;
|
||||||
int bogus;
|
|
||||||
};
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* fakestat support: opaque storage for afs_EvalFakeStat to remember
|
/* fakestat support: opaque storage for afs_EvalFakeStat to remember
|
||||||
|
Loading…
Reference in New Issue
Block a user