mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
Tidy up event hash table definitions a bit more
The change in http://gerrit.openafs.org/5314 consolidated the definitions of struct afs_event and some related objects, but the definitions were not quite in the right place. In http://gerrit.openafs.org/5392 this content was moved to more standard headers, but a comment and #define were missed. This change moves the comment to be in the same place as the content. Change-Id: I86831879e9a2afd9e653182dcba4621624c55471 Reviewed-on: http://gerrit.openafs.org/5403 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
58d136ed0d
commit
febbd0f1ae
@ -1559,7 +1559,11 @@ struct afssysa {
|
|||||||
extern int Afs_syscall(struct afssysa *uap, rval_t *rvp);
|
extern int Afs_syscall(struct afssysa *uap, rval_t *rvp);
|
||||||
#endif /* AFS_SUN5_ENV */
|
#endif /* AFS_SUN5_ENV */
|
||||||
|
|
||||||
/* The event hash table, and array */
|
/*
|
||||||
|
* Various definitions for osi_sleep and its event hash table
|
||||||
|
* DFBSD and SUNOS have no osi_sleep, and HPUX has its own hack for this stuff
|
||||||
|
*/
|
||||||
|
#define AFS_EVHASHSIZE 128 /* size of afs_evhasht, must be power of 2 */
|
||||||
|
|
||||||
typedef struct afs_event {
|
typedef struct afs_event {
|
||||||
struct afs_event *next; /* next in hash chain */
|
struct afs_event *next; /* next in hash chain */
|
||||||
|
@ -124,12 +124,6 @@ struct afs_osi_WaitHandle {
|
|||||||
|
|
||||||
#define osi_NPACKETS 20 /* number of cluster pkts to alloc */
|
#define osi_NPACKETS 20 /* number of cluster pkts to alloc */
|
||||||
|
|
||||||
/*
|
|
||||||
* Various definitions for osi_sleep and its event hash table
|
|
||||||
* DFBSD and SUNOS have no osi_sleep, and HPUX has its own hack for this stuff
|
|
||||||
*/
|
|
||||||
#define AFS_EVHASHSIZE 128 /* size of afs_evhasht, must be power of 2 */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user